mirror of
https://github.com/hatchet-dev/hatchet.git
synced 2026-05-08 02:49:17 -05:00
feat(throughput): single process per queue (#956)
* feat(throughput): single process per queue * fix data race * fix: golint and data race on load test * wrap up initial v2 scheduler * fix: more debug logs and tighten channel logic/blocking sends * improved casing on dispatcher and lease manager * fix: data race on min id * increase wait on load test, fix data race * fix: trylock -> lock * clean up queue when no longer in set * fix: clean up cache on exit * ensure cleanup is only called once * address review comments
This commit is contained in:
@@ -206,6 +206,7 @@ func RunWithConfig(ctx context.Context, sc *server.ServerConfig) ([]Teardown, er
|
||||
jobs.WithPartition(p),
|
||||
jobs.WithQueueLoggerConfig(&sc.AdditionalLoggers.Queue),
|
||||
jobs.WithPgxStatsLoggerConfig(&sc.AdditionalLoggers.PgxStats),
|
||||
jobs.WithScheduler(sc.SchedulingPool),
|
||||
)
|
||||
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user