Skip to content

Commit

Permalink
Fix manual pruning example (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
smaximov authored Feb 2, 2025
1 parent f0205ba commit 94beaac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/error_tracker/plugins/pruner.ex
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ defmodule ErrorTracker.Plugins.Pruner do
capabilities and have a more granular control over when pruning is run.
defmodule MyApp.ErrorPruner do
use Oban.Job
use Oban.Worker
def perform(%Job{}) do
ErrorTracker.Plugins.Pruner.prune_errors(limit: 10_000, max_age: :timer.minutes(60))
Expand Down

0 comments on commit 94beaac

Please sign in to comment.