Commit graph

17 commits

Author SHA1 Message Date
Adriano Caloiaro
342aad6fe2 fix: Incorrectly passing pgx connections params to pq
Packages `pq` and `pgx` allow different connection string parameters.
Since `pgx` is neoq's primary SQL library, but migrations use `pq`,
we had to ensure that pgx connection parameters do not get passed to
the pq library when running migrations.

This issue was introduced in version `0.20.0`.
2023-08-29 11:23:34 +02:00
Adriano Caloiaro
72594867e5 Support job deadlines
Fixes #52
2023-08-28 20:01:21 +02:00
Adriano Caloiaro
a4c54e0f49 Support postgres backend schema migrations 2023-08-28 08:59:40 +02:00
57c75deefb Set database name on connection string 2023-07-29 07:52:51 -06:00
c237f31b4e Fix slog API change issue 2023-07-17 07:54:22 -06:00
a70e9eb188
Fix optional pool params on connection string 2023-05-02 21:24:12 -06:00
43a0a133f2
Add log level support (#49) 2023-05-02 20:17:53 -06:00
106ab0f18a
Fix retries in the event of handler panic (#48) 2023-04-29 12:47:52 -06:00
71dd54b180
Fix postgres Handler error handling (#47) 2023-04-26 10:54:02 -06:00
aaed37eeb5
Add redis support (#44) 2023-04-14 19:11:22 -06:00
219ea84d76
Move config.WithConnectionString -> postgres.WithConnectionString (#43) 2023-04-01 18:03:55 -07:00
81845a2303
Move handlers.FromJobContext() -> jobs.FromContext() (#41) 2023-04-01 17:54:05 -07:00
d47845d573
Make JobWithContext private 2023-03-21 09:54:08 -07:00
4639e53980
Update docs regarding lost connections while updating jobs (#39) 2023-03-18 12:22:27 -07:00
eb430e9444
Acquire a new connection for every queue listener (#38) 2023-03-18 09:52:48 -07:00
07a336a397
Make handler context vars backend agnostic (#37) 2023-03-17 08:53:16 -07:00
5b6620927e
Move backends to separate packages 2023-03-01 10:34:27 -07:00
Renamed from postgres_backend.go (Browse further)