#1347 Fix hub startup handling
Merged by mikem. Opened by mikem.
mikem/koji fix-firstcall-check  into  master

Download 1347.patch

Fixes: #875

In some environments, module loading can break after restarts. Here we take two steps to prevent that:

  • disable mod_wsgi auto reloading
  • use a thread lock for the server setup that happens on first call

:thumbsup:

I have a koji install that yesterday was reliably exhibiting symptoms within 30 minutes of starting the hub.

Applied this patch to kojixmlrpc and turned off auto_reloading and the hub has been running uninterrupted for almost 8 hours.

:thumbsup:

Thanks for the verify @bstinson !

Commit 58ff2566 fixes this pull-request

Pull-Request has been merged by mikem

Metadata