mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 17:05:18 +00:00
7db6de7278
* Serialize hosts writes per instance * Write hosts asynchronously * Dont make the save in a goroutine * Revert "Dont make the save in a goroutine" This reverts commit 4a890c5271142755dec69a741582e7eca5c4c62c. * Make all savehosts async * Address review comments and make this approach configurable * Address review comments * Disable bulk seen time marking for a test * Move host seen times to a new table * Remove unused * Add seen_time to list hosts * Add some jitter to seen time flushing * Remove unused * Add timeout to deferred save host * Add tests for serialSaveHost * Update hosts in labels and policy executions in a serial way * Address review comments and remove fk constraints in host software * Make errCh buffered * Add changes file * Readd key |
||
---|---|---|
.. | ||
async_bench_test.go | ||
async_test.go | ||
async.go | ||
collect_test.go | ||
collect.go | ||
doc.go |