MCPcopy Create free account
hub / github.com/Ishabdullah/Codey-v2 / increment_retry

Method increment_retry

core/state.py:280–287  ·  view source on GitHub ↗

Increment retry_count for a task.

(self, task_id: int)

Source from the content-addressed store, hash-verified

278 self._conn.commit()
279
280 def increment_retry(self, task_id: int):
281 """Increment retry_count for a task."""
282 with self._lock:
283 self._conn.execute(
284 "UPDATE task_queue SET retry_count = retry_count + 1 WHERE id = ?",
285 (task_id,),
286 )
287 self._conn.commit()
288
289 def cancel_task(self, task_id: int) -> bool:
290 """

Callers 1

fail_taskMethod · 0.80

Calls 1

executeMethod · 0.80

Tested by

no test coverage detected