Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[mob][photos] Drop redundant comment

laurenspriema7cbf14b7e70
diff --git a/mobile/packages/log_viewer/lib/src/core/log_store.dart b/mobile/packages/log_viewer/lib/src/core/log_store.dart
index 76fc377270..634dc19599 100644
--- a/mobile/packages/log_viewer/lib/src/core/log_store.dart
+++ b/mobile/packages/log_viewer/lib/src/core/log_store.dart
@@ -61,9 +61,6 @@ class LogStore {
Future<void>? _activeFlush;
Future<void>? _queuedFlush;
- // At most one drain runs and one is queued; arrivals share the queued one.
- // Its snapshot is taken after the active drain, so every caller sees the
- // records buffered before its call, yet waits at most two batch inserts.
Future<void> _flush() {
final active = _activeFlush;
if (active == null) {