6785d390f7
This introduces two sync.Cond pointers to the archiver package. If they're non-nil when we go to process a request, we'll wait until signalled (at all) to proceed. The tests will then create the sync.Cond so that it can signal at-will and sanity-check the state of the queue at different phases. The author believes that nil-checking these two sync.Cond pointers on every archive processing will introduce minimal overhead with no impact on maintainability. |
||
---|---|---|
.. | ||
archiver | ||
comments | ||
externalaccount | ||
gitdiff | ||
issue | ||
mailer | ||
mirror | ||
pull | ||
release | ||
repository | ||
wiki |