Skip to content

Commit 75bac9c

Browse files
committed
wip
1 parent a1f0221 commit 75bac9c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/GithubIssueHandlerFactory.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,12 @@ protected function createStore(array $config): StoreInterface
8585
$time = $this->getDeduplicationTime($config);
8686
$prefix = Arr::get($deduplication, 'prefix', 'github-monolog:');
8787
$connection = Arr::get($deduplication, 'connection', 'default');
88+
$table = Arr::get($deduplication, 'table', 'github_monolog_deduplication');
8889
$path = Arr::get($deduplication, 'path', storage_path('logs/github-monolog-deduplication.log'));
8990

9091
return match ($driver) {
9192
'redis' => new RedisStore(prefix: $prefix, time: $time, connection: $connection),
92-
'database' => new DatabaseStore(time: $time, connection: $connection),
93+
'database' => new DatabaseStore(time: $time, table: $table, connection: $connection),
9394
default => new FileStore(path: $path, time: $time),
9495
};
9596
}

0 commit comments

Comments
 (0)