Example #1
0
 def _run(self):
     # Bind greenlet-local logging context.
     self.log = self.log.new(account_id=self.account_id)
     return retry_and_report_killed(self._run_impl,
                                    account_id=self.account_id,
                                    logger=self.log,
                                    fail_classes=self.retry_fail_classes)
Example #2
0
 def _run(self):
     # Bind greenlet-local logging context.
     self.log = self.log.new(account_id=self.account_id)
     return retry_and_report_killed(self._run_impl,
                                    account_id=self.account_id,
                                    logger=self.log,
                                    fail_classes=self.retry_fail_classes)
Example #3
0
 def _run(self):
     # Bind greenlet-local logging context.
     self.log = log.new(account_id=self.account_id, folder=self.folder_name)
     # eagerly signal the sync status
     self.heartbeat_status.publish()
     return retry_and_report_killed(self._run_impl,
                                    account_id=self.account_id,
                                    folder_name=self.folder_name,
                                    logger=log,
                                    fail_classes=self.retry_fail_classes)
Example #4
0
 def _run(self):
     # Bind greenlet-local logging context.
     self.log = log.new(account_id=self.account_id, folder=self.folder_name)
     # eagerly signal the sync status
     self.heartbeat_status.publish()
     return retry_and_report_killed(self._run_impl,
                                    account_id=self.account_id,
                                    folder_name=self.folder_name,
                                    logger=log,
                                    fail_classes=self.retry_fail_classes)
Example #5
0
 def _run(self):
     return retry_and_report_killed(self._run_impl,
                                    account_id=self.account_id,
                                    logger=self.log,
                                    fail_classes=self.retry_fail_classes)
Example #6
0
 def _run(self):
     return retry_and_report_killed(self._run_impl,
                                    account_id=self.account_id,
                                    folder_name=self.folder_name,
                                    logger=self.log,
                                    fail_classes=self.retry_fail_classes)
Example #7
0
 def _run(self):
     return retry_and_report_killed(self._run_impl,
                                    account_id=self.account_id,
                                    logger=self.log)
Example #8
0
File: gc.py Project: olofster/inbox
 def _run(self):
     return retry_and_report_killed(self._run_impl,
                                    account_id=self.account_id)
Example #9
0
 def _run(self):
     return retry_and_report_killed(self._run_impl, self.log,
                                    account_id=self.account_id,
                                    folder_name=self.folder_name)