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

run Oban in CE too #4061

Merged
merged 1 commit into from
May 6, 2024
Merged

run Oban in CE too #4061

merged 1 commit into from
May 6, 2024

Conversation

ruslandoga
Copy link
Contributor

@ruslandoga ruslandoga commented May 2, 2024

Changes

This PR enables Oban in CE.

Tests

  • This PR does not require tests

Changelog

  • Entry has been added to changelog

Documentation

  • This change does not need a documentation update

Dark mode

  • This PR does not change the UI

@ruslandoga ruslandoga requested a review from a team May 2, 2024 20:09
config :plausible, Oban,
repo: Plausible.Repo,
queues: queues,
plugins: false
Copy link
Contributor Author

@ruslandoga ruslandoga May 2, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right now this branch is being evaluated.

iex(plausible@235cabf8c54d)12> Oban.Registry.config Oban
%Oban.Config{
  dispatch_cooldown: 5,
  engine: Oban.Engines.Basic,
  get_dynamic_repo: nil,
  insert_trigger: true,
  log: false,
  name: Oban,
  node: "plausible@235cabf8c54d",
  notifier: {Oban.Notifiers.Postgres, []},
  peer: {Oban.Peers.Disabled, []},
  plugins: [],
  prefix: "public",
  queues: [
    rotate_salts: [limit: 1],
    schedule_email_reports: [limit: 1],
    send_email_reports: [limit: 1],
    spike_notifications: [limit: 1],
    check_stats_emails: [limit: 1],
    site_setup_emails: [limit: 1],
    clean_invitations: [limit: 1],
    analytics_imports: [limit: 1],
    domain_change_transition: [limit: 1],
    check_accept_traffic_until: [limit: 1]
  ],
  repo: Plausible.Repo,
  shutdown_grace_period: 15000,
  stage_interval: 1000,
  testing: :disabled
}
iex(plausible@235cabf8c54d)13> Application.get_env :plausible, Oban
[
  repo: Plausible.Repo,
  queues: [
    rotate_salts: 1,
    schedule_email_reports: 1,
    send_email_reports: 1,
    spike_notifications: 1,
    check_stats_emails: 1,
    site_setup_emails: 1,
    clean_invitations: 1,
    analytics_imports: 1,
    domain_change_transition: 1,
    check_accept_traffic_until: 1
  ],
  plugins: false
]

@ruslandoga ruslandoga added the self-hosting Anything self-hosted label May 2, 2024
@zoldar zoldar merged commit b0fc527 into master May 6, 2024
9 checks passed
@zoldar zoldar deleted the run-oban-in-small-prod branch May 6, 2024 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
self-hosting Anything self-hosted
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants