Factor Studios commited on
Commit
906ba65
·
verified ·
1 Parent(s): 40395a4

Update http_storage.py

Browse files
Files changed (1) hide show
  1. http_storage.py +6 -6
http_storage.py CHANGED
@@ -416,12 +416,12 @@ class HTTPGPUStorage:
416
 
417
  def ping(self) -> bool:
418
  """Ping the server to check connection status."""
419
- try:
420
- response = self._make_request('GET', '/status')
421
- return response and response.get('status') == 'ok'
422
- except Exception as e:
423
- logging.error(f"Ping failed: {e}")
424
- return False
425
 
426
  def is_connected(self) -> bool:
427
  """Check if the client is connected to the server."""
 
416
 
417
  def ping(self) -> bool:
418
  """Ping the server to check connection status."""
419
+ # try:
420
+ # response = self._make_request('GET', '/status')
421
+ # return response and response.get('status') == 'ok'
422
+ # except Exception as e:
423
+ # logging.error(f"Ping failed: {e}")
424
+ # return False
425
 
426
  def is_connected(self) -> bool:
427
  """Check if the client is connected to the server."""