Skip to content

Commit 94beaac

Browse files
authored
Fix manual pruning example (#126)
1 parent f0205ba commit 94beaac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/error_tracker/plugins/pruner.ex

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ defmodule ErrorTracker.Plugins.Pruner do
4141
capabilities and have a more granular control over when pruning is run.
4242
4343
defmodule MyApp.ErrorPruner do
44-
use Oban.Job
44+
use Oban.Worker
4545
4646
def perform(%Job{}) do
4747
ErrorTracker.Plugins.Pruner.prune_errors(limit: 10_000, max_age: :timer.minutes(60))

0 commit comments

Comments
 (0)