From 83d2fc120b35ae7903214db94c905685c0f4c985 Mon Sep 17 00:00:00 2001 From: Dimitris Zorbas Date: Thu, 12 Sep 2024 18:13:14 +0300 Subject: [PATCH] Fix doc typo in oban.ex (#1152) --- lib/oban.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/oban.ex b/lib/oban.ex index 77892840..e6da6dac 100644 --- a/lib/oban.ex +++ b/lib/oban.ex @@ -384,7 +384,7 @@ defmodule Oban do minimize database load, only `5_000` jobs are staged at each interval. Only the leader node stages jobs and notifies queues when the `:notifier's` pubsub - notifications are functional. If pubusb messages can't get through then staging switches to a + notifications are functional. If pubsub messages can't get through then staging switches to a less efficient "local" mode in which all nodes poll for jobs to run. Setting the interval to `:infinity` disables staging entirely. The default is `1_000ms`.