Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Development #84

Merged
merged 5 commits into from
Oct 3, 2023
Merged

Development #84

merged 5 commits into from
Oct 3, 2023

Commits on Oct 3, 2023

  1. chore(test): Adding a test for multiple consumers with the pg backend.

    This test is to provide a minimal proof that jobs can be consumed by
    multiple workers and in a way can only be consumed once. If the
    execCount does not match the expected count then this test will fail
    because either too many jobs were executed (like one executing twice) or
    a job was dropped when it should not have been.
    elliotcourant authored and acaloiaro committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    c09d476 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2755e68 View commit details
    Browse the repository at this point in the history
  3. feat: Announce jobs using PG trigger

    Previously, new, non-future jobs were announced by executing `NOTIFY` in
    Go code. Triggers are much better suited for this, and reduces neoq
    complexity by allowing PG to perform notification work for most jobs.
    
    "Future" jobs continue to use the `announceJob` method on a timer.
    acaloiaro committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    f59d0f7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    820370e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4244080 View commit details
    Browse the repository at this point in the history