refactor: clean up not needed code and comments
This commit is contained in:
parent
49095b78d4
commit
2f20c58400
1 changed files with 0 additions and 10 deletions
|
|
@ -141,16 +141,6 @@ func (em *ExportManager) exportBatch(ctx context.Context) {
|
||||||
if lastErr != nil && backoff > 0 {
|
if lastErr != nil && backoff > 0 {
|
||||||
slog.Error("Failed to mark entries as exported after retries", "error", lastErr)
|
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)
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue