Vladimir Garvardt

Results 58 comments of Vladimir Garvardt

@BillBuilt added new hook type that should help spotting an issue like this https://github.com/vgarvardt/gue/pull/224. Although failure already produces an error message, so having alert on error messages in log collector...

@TechGeorgii in-memory counter will work for sure, but it means that you expect the logic to fail in a non-recoverable way. I would go towards more general approach - make...

Almost the same can be achieved by using stdlib logger https://github.com/bamzi/jobrunner/pull/22 - it is not structured but allows capturing all the library logs using any implementation.

it is not possible by design, every job type must have explicitly defined handler if you need something like generic job type - you can use the same one for...

added an option to set a handler for unknown job types in https://github.com/vgarvardt/gue/pull/227 - is it something like this that you want?

This is breaking change. I'll do it together with other BCs for the new major version once it is planned.

If I understand your question correctly - you can add a index to the `data` column based on your need and use it in your system to filter out required...

Adapter generalises db interface because only `github.com/lib/pq` supports `database/sql` interface, while `github.com/jackc/pgx/v5` and `github.com/jackc/pgx/v4` drivers have own interfaces.

Originally library worked only with `pgx` so using native driver is more preferred than `stdlib` wrapper, other drivers were added later, some of them are already gone.

@owenthereal probably you're looking for https://github.com/vgarvardt/gue#libpq