Commit Graph

6 Commits

Author SHA1 Message Date
Jimmy Zelinskie
0d18a629ca updater: sleep before continuing the lock loop
This change makes the updater sleep for a small portion of time before
it continues to try and obtain a lock for running the updates. This will
prevent the CPU from being pinned in the case where an error is
consistently failing an update.

Fixes #415.
2017-06-28 17:13:27 -04:00
Sida Chen
9306e99368 converted to structured logging by using logrus
changed from capnslog to logrus for logging JSON structured message.

finished issue #383
2017-05-04 13:59:57 -04:00
Nick Platt
edfadc2f87 updater: Log fetch completion 2017-04-25 15:50:51 +00:00
Jimmy Zelinskie
b792eb61f6 updater: copy whole namespace when deduping vulns 2017-02-23 02:05:52 -05:00
Jimmy Zelinskie
6a569fd945 move config to main / decentralize config
This puts config in its relevant location and moves functions around
loading config files into the main package.

As a side effect of removing cyclic imports for the API config, the
context library is no longer used.
2017-01-27 00:36:13 -05:00
Jimmy Zelinskie
9c63a63944 clair: mv updater clair and mv severity to db 2017-01-22 23:20:56 -05:00