Adriano Caloiaro
92011e9682
Add migration notice to README
Run TODO to Issue / build (push) Failing after 1m20s
test / test (push) Failing after 1m39s
2026-07-19 09:32:13 -06:00
Adriano Caloiaro
0cab9ce7dc
chore(golangci): update golangci
2025-06-28 10:53:37 +02:00
dependabot[bot]
7a61655be3
chore(deps): bump golang.org/x/crypto from 0.31.0 to 0.35.0
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.31.0 to 0.35.0.
- [Commits](https://github.com/golang/crypto/compare/v0.31.0...v0.35.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-version: 0.35.0
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-04-18 14:03:08 -06:00
Adriano Caloiaro
ef64a8395f
fix: queued names quoted incorrectly in pending jobs query
2025-02-17 09:46:23 -07:00
Adriano Caloiaro
69dfcec7a8
fix: lower required go version to 1.23
2025-02-13 11:33:43 -07:00
Adriano Caloiaro
7ea8e96ca3
chore(lint): fix golangci config
2025-02-13 10:24:08 -07:00
Adriano Caloiaro
fed55dc916
chore(lint): satisfy line length lints
2025-02-13 10:24:08 -07:00
Adriano Caloiaro
e6ad5d4c6f
chore(deps): update go in flake/upate nixpkgs for devenv
2025-02-13 10:24:08 -07:00
Adriano Caloiaro
2e0dd6b768
chore(deps): remove exp/slog in favor of log/slog
2025-02-13 10:24:08 -07:00
Adriano Caloiaro
5aee2b2582
fix: unprocessed jobs from unwatched queues block watched queues
...
There could be a condition where jobs were added to a queue that is not longer being watched,
yet the jobs in those queues would continue appearing in the pending job list because
the query to get pending jobs did not filter by queues being watched.
2025-02-13 10:24:08 -07:00
Adriano Caloiaro
08ccf0f99f
feat: make pendings job processing resilient to connection loss
...
Instead of passing a single connection into the pending job processor,
use the connection pool to pull a new connection on every loop, releasing
it after every use.
2025-01-27 09:20:17 -07:00
Adriano Caloiaro
17c86fa00e
fix: execessive connection usage when monitoring pending jobs
...
The previous release attempted to fix an issue where, when LISTEN connections
drop an reconnect, some job announcements might be missed.
This fix reduces the number of connections required to do so.
2025-01-25 16:48:44 -08:00
Adriano Caloiaro
3b3a7fe388
fix(postgres): jobs may never get processed if no workers hear the initial announcement
...
When jobs are inserted into the 'neoq_jobs', the `announce_job` trigger announces the job to
listeners of the job's queue. However, if no workers are available to receive the announcement,
or the announcement is somehow lost, it meant those jobs were marooned on the queue.
This fix adds a periodic check for post-due pending jobs to ensure that a neoq restart is
not necessary to catch marooned, overdue jobs.
2025-01-25 13:01:03 -08:00
dependabot[bot]
245711b3d4
chore(deps): bump golang.org/x/crypto from 0.17.0 to 0.31.0
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.17.0 to 0.31.0.
- [Commits](https://github.com/golang/crypto/compare/v0.17.0...v0.31.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-12-22 08:42:09 -07:00
Adriano Caloiaro
a002d3f95f
chore: fix svu install in github action
2024-12-22 08:28:09 -07:00
Adriano Caloiaro
0ef3446f83
chore: use svu for versioning
2024-12-22 08:13:18 -07:00
Adriano Caloiaro
ef93e6856b
fix: don't force serial job execution on single-CPU systems
2024-12-22 08:13:18 -07:00
Adriano Caloiaro
dbe8589bbd
feat: add stale bot
2024-08-15 10:05:43 -07:00
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
Adriano Caloiaro
a6f7fbcd36
feat: Add public jobs.WithJobContext()
2024-06-07 07:22:07 -07:00
Adriano Caloiaro
37b6732ad0
feat: Automatically reconnect when the PG listener connection fails
2024-04-23 08:40:45 -06:00
Adriano Caloiaro
0105403be9
feat: add support for recovery callbacks
2024-04-16 13:52:54 -06: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
b401809190
feat: fix infinite scheduling loop when job gets scheduled after deadline
2024-03-27 12:11:14 -06:00
Adriano Caloiaro
441a39271b
fix: An incorrect error was thrown when jobs exceeding their deadline were scheduled
...
Co-authored-by: Philip Constantinou <1383834+pconstantinou@users.noreply.github.com>
2024-03-25 11:58:08 -06:00
Fernando Barillas
672e101e6b
feat: Update migrations postgres URI parsing and add tests
2024-03-04 19:57:51 -07:00
Adriano Caloiaro
0c32209612
feat: Make fingerprint unique to each queue
2024-03-02 10:56:29 -07:00
Adriano Caloiaro
9a555f1407
chore: Add test coverage over postgres future jobs
2024-03-02 10:16:14 -07:00
Adriano Caloiaro
c16dd3d580
feat: improve PG database initialization errors
2024-02-22 09:38:46 -07:00
Adriano Caloiaro
94d7d68539
Remove TODO for seconds cron syntax in asynq
2024-01-28 07:26:50 -07:00
Phil Constantinou
95ff9152a4
Fix support for sslmode too
2024-01-28 07:13:45 -07:00
Phil Constantinou
b2aa3892c3
URL encode password
2024-01-28 07:13:45 -07:00
Adriano Caloiaro
8e9836e7fe
Switch to MIT license
2024-01-27 17:21:36 -07:00
Adriano Caloiaro
cce17b8e08
README updates
2024-01-26 09:21:05 -07:00
Adriano Caloiaro
99f07276b6
Bump go version for ci
2024-01-26 09:21:05 -07:00
Adriano Caloiaro
7798b35827
Fix lints
2024-01-26 09:21:05 -07:00
Adriano Caloiaro
f21eb9c282
Improve dev environment
2024-01-26 09:21:05 -07:00
Adriano Caloiaro
51452ed7f9
Update env.sample with better examples
2024-01-19 13:30:04 -07:00
Adriano Caloiaro
1472507f7d
Update env.sample with better examples
2024-01-19 13:27:18 -07:00
Adriano Caloiaro
1cae205942
Update goreleaser to ignore README.md and env.sample
2024-01-19 11:48:18 -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
3b21d026e2
Make matrix chat badge clickable
2024-01-19 09:58:15 -07:00
Adriano Caloiaro
02179794cd
Really fix matrix badge?
2024-01-19 09:49:01 -07:00
Adriano Caloiaro
b2fcace173
Fix matrix chat badge
2024-01-19 09:35:08 -07:00
Adriano Caloiaro
20edd84290
Update neoq Matrix chat badge
2024-01-19 09:28:58 -07:00
Adriano Caloiaro
86f7869440
feat: Multiplex the listener connection
2023-12-12 15:44:28 -07:00
Justin Clift
6eef1d5d5b
Trivial typo fix
2023-12-03 08:11:59 -07:00
Adriano Caloiaro
1598184f74
fix: Add deadline to pool connection acquisition
2023-11-11 17:18:35 -07:00
Elliot Courant
e6ece3c568
chore(log): Tweaking logging again, making everything consistent ( #101 )
2023-11-06 15:07:46 -06:00