#1175 kojira: avoid race condition that causes "unknown task" errors
Merged by mikem. Opened by mikem.
mikem/koji kojira_unknown_task  into  master

Download 1175.patch

Fixes: #942

This change takes approach #2 from the above issue. We keep a record of recently completed repo tasks to avoid duplicate regens in a race.

@julian8628 please review

could we make this timeout configurable?

could we make this timeout configurable?

I wasn't planning on it, but I guess it couldn't hurt to make it tuneable.

1 new commit added

  • make recent_tasks lifetime configurable

Commit 2b8a9dd5 fixes this pull-request

Pull-Request has been merged by mikem

Metadata