Commit graph

18 commits

Author SHA1 Message Date
dependabot[bot]
54f33643f5 chore(deps): bump google.golang.org/protobuf from 1.28.1 to 1.33.0
Bumps google.golang.org/protobuf from 1.28.1 to 1.33.0.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-25 08:44:28 -07:00
Adriano Caloiaro
9e3e803ec2 feat: log job_id regardless of error 2024-06-13 08:54:10 -07:00
dependabot[bot]
f6ef118806 chore(deps): bump github.com/jackc/pgx/v5 from 5.3.1 to 5.5.4
Bumps [github.com/jackc/pgx/v5](https://github.com/jackc/pgx) from 5.3.1 to 5.5.4.
- [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jackc/pgx/compare/v5.3.1...v5.5.4)

---
updated-dependencies:
- dependency-name: github.com/jackc/pgx/v5
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-04 08:01:05 -06:00
Adriano Caloiaro
f21eb9c282 Improve dev environment 2024-01-26 09:21:05 -07:00
dependabot[bot]
a87cc3dda5 chore(deps): bump golang.org/x/crypto from 0.7.0 to 0.17.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.7.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.7.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-19 10:04:58 -07:00
Adriano Caloiaro
6ea1bb692f feat: Improve postgres duplicate job detection performance
Previously, neoq would query to see if new jobs' (fingerprint, status)
tuple were unique. This change adds a unique index on (fingerprint,
status) and simply allows unique key constraint violations to be
returned from `Enqueue` instead. This prevents one additional query
for every new queue item.
2023-09-02 14:59:32 +02:00
Adriano Caloiaro
a4c54e0f49 Support postgres backend schema migrations 2023-08-28 08:59:40 +02:00
c237f31b4e Fix slog API change issue 2023-07-17 07:54:22 -06:00
43a0a133f2
Add log level support (#49) 2023-05-02 20:17:53 -06:00
1c92db565b
Update slog (#46) 2023-04-19 17:05:43 -06:00
aaed37eeb5
Add redis support (#44) 2023-04-14 19:11:22 -06:00
Adriano Caloiaro
93a646ae27
Add in-memory backend
Co-authored-by: Juan C. Müller <jcmuller@users.noreply.github.com>
2023-02-23 09:35:14 -07:00
Juan C. Müller
1db5b7c557
Bump dependencies 2023-02-19 10:06:29 -05:00
Juan C. Müller
2a1d77c604
Bump golang version 2023-02-19 10:04:35 -05:00
Juan C. Müller
8e8a3176d2
go mod tidy 2023-02-17 23:06:18 -05:00
Adriano Caloiaro
f1f5ea2988
Add periodic job support 2023-02-17 11:29:06 -08:00
Adriano Caloiaro
3a1dbe093b
improve logging functionality 2023-02-16 15:15:39 -08:00
Adriano Caloiaro
ad6f6c0387
Initial commit 2023-02-13 15:35:55 -08:00