Opened 9 years ago

Closed 9 years ago

#2 closed enhancement (fixed)

Add a new feature to check the status of Neon server

Reported by: zhangjr Owned by: zhangjr
Priority: minor Milestone: milestone1
Component: component1 Version: 1.0
Keywords: Cc:
Blocked By: Blocking:
Parent ID: Parent Tickets:
Estimated Number of Hours: 0.0 Add Hours to Ticket: 0
Billable?: yes Total Hours: 0

Description

if connected, return True;
else, return False.

Subtickets

Child Tickets

Change History (4)

comment:1 Changed 9 years ago by zhangjr

  • Owner changed from somebody to zhangjr
  • Status changed from new to assigned

comment:2 Changed 9 years ago by zhangjr

  • Status changed from assigned to accepted

comment:3 Changed 9 years ago by zhangjr

The function is added in class NeonRedis?.

===

def sver_status():

try:

response = self.redis.client_list()

except redis.ConnectionError?:

return False

return True

===

comment:4 Changed 9 years ago by zhangjr

  • Resolution set to fixed
  • Status changed from accepted to closed
Note: See TracTickets for help on using tickets.