|
@@ -585,12 +585,12 @@ class AsyncJob(pj.PendingJob):
|
|
|
def execute(self, is_pending):
|
|
|
self.logger.warn("Executing job value: %s, %s", self.val.value, is_pending)
|
|
|
|
|
|
+ time.sleep(1)
|
|
|
+ self.ep.utilAddPendingJob(self)
|
|
|
+
|
|
|
def __del__(self):
|
|
|
self.logger.warn("Job deleted id:%s, value:%s", id(self), self.val.value)
|
|
|
|
|
|
- job = AsyncJob(self.ep, self.app)
|
|
|
- self.logger.warn("Adding job 1")
|
|
|
- self.ep.utilAddPendingJob(job)
|
|
|
|
|
|
@singleton_keys
|
|
|
class BotAgent:
|