mirror of
https://github.com/dgtlmoon/changedetection.io.git
synced 2026-09-24 22:36:33 +00:00
remove old code
This commit is contained in:
@@ -81,18 +81,3 @@ class DataStore(ABC):
|
||||
"""
|
||||
pass
|
||||
|
||||
@abstractmethod
|
||||
def force_save_all(self):
|
||||
"""
|
||||
Force immediate synchronous save of all data to storage.
|
||||
|
||||
This is the abstract method for forcing a complete save.
|
||||
Different backends implement this differently:
|
||||
- File backend: No-op (watches save immediately via commit())
|
||||
- Redis backend: SAVE command or pipeline flush
|
||||
- SQL backend: COMMIT transaction
|
||||
|
||||
Note: With immediate persistence, this is mostly a no-op for file backend.
|
||||
Used for backward compatibility.
|
||||
"""
|
||||
pass
|
||||
|
||||
@@ -350,16 +350,6 @@ class FileSavingDataStore(DataStore):
|
||||
"""
|
||||
raise NotImplementedError("Subclass must implement _save_settings")
|
||||
|
||||
def force_save_all(self):
|
||||
"""
|
||||
Deprecated: Watches now save immediately via commit().
|
||||
|
||||
Kept as no-op for backward compatibility. In the old system,
|
||||
this would force all watches to save. With immediate persistence,
|
||||
all changes are already saved.
|
||||
"""
|
||||
logger.info("force_save_all() called - no-op (immediate persistence enabled)")
|
||||
pass
|
||||
|
||||
def _load_watches(self):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user