Browse Source

Remove TODOs from code

opensearch
nir0s 7 years ago
parent
commit
79d49b8038
1 changed files with 0 additions and 5 deletions
  1. +0
    -5
      logzio/sender.py

+ 0
- 5
logzio/sender.py View File

@ -71,8 +71,6 @@ class LogzioSender:
try:
self._flush_queue()
# TODO: Which exception?
except Exception as e:
self.logger.debug(
'Unexpected exception while draining queue to Logz.io, '
@ -82,7 +80,6 @@ class LogzioSender:
sleep(self.logs_drain_timeout)
def _flush_queue(self):
# TODO: Break this down. This function is crazy.
# Sending logs until queue is empty
while not self.queue.empty():
logs_list = self._get_messages_up_to_max_allowed_size()
@ -131,8 +128,6 @@ class LogzioSender:
'Logz.io!', len(logs_list))
should_backup_to_disk = False
break
# TODO: Which exception?
except Exception as e:
self.logger.error(
'Got exception while sending logs to Logz.io, '


Loading…
Cancel
Save