aboutsummaryrefslogtreecommitdiff
path: root/backend/internal/worker/auth
diff options
context:
space:
mode:
Diffstat (limited to 'backend/internal/worker/auth')
-rw-r--r--backend/internal/worker/auth/auth.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/backend/internal/worker/auth/auth.go b/backend/internal/worker/auth/auth.go
index 579a180..2043b5e 100644
--- a/backend/internal/worker/auth/auth.go
+++ b/backend/internal/worker/auth/auth.go
@@ -26,7 +26,7 @@ func RunAuthScraper(
ctx context.Context,
client *ibd.Client,
redis *redis.Client,
- db database.Executor,
+ db database.TransactionExecutor,
kms keys.KeyManagementService,
name string,
) error {
@@ -55,7 +55,7 @@ func waitForTask(
ctx context.Context,
queue taskqueue.TaskQueue[auth.TaskInfo],
client *ibd.Client,
- db database.Executor,
+ db database.TransactionExecutor,
kms keys.KeyManagementService,
) {
task, err := queue.Dequeue(ctx, lockTimeout, dequeueTimeout)
@@ -119,7 +119,7 @@ func waitForTask(
func scrapeCookies(
ctx context.Context,
client *ibd.Client,
- db database.Executor,
+ db database.TransactionExecutor,
kms keys.KeyManagementService,
user string,
) error {
@@ -213,7 +213,7 @@ func healthCheckDegradedCookies(
func scrapeNewCookies(
ctx context.Context,
client *ibd.Client,
- db database.Executor,
+ db database.TransactionExecutor,
kms keys.KeyManagementService,
user string,
) error {