diff --git a/export_manager.go b/export_manager.go index d3b15cc..41d037f 100644 --- a/export_manager.go +++ b/export_manager.go @@ -141,16 +141,6 @@ func (em *ExportManager) exportBatch(ctx context.Context) { if lastErr != nil && backoff > 0 { slog.Error("Failed to mark entries as exported after retries", "error", lastErr) } - // if err := em.storage.(*SQLiteStorage).MarkAsExported(ctx, ids); err != nil { - // if strings.Contains(err.Error(), "database is locked") { - // time.Sleep(50 * time.Millisecond) - // err := em.storage.(*SQLiteStorage).MarkAsExported(ctx, ids) - // if err != nil { - // slog.Error("Failed to mark entries as exported", "error", err) - // } - // } - // slog.Error("Failed to mark entries as exported", "error", err) - // } } }