Files
Hermes_rocket.chat_Plugin/plugin/archivar
Bernd (Hermes) fa9091eb6c P-041a: GC-Reset Bug fix — Stufe 1 (Plugin-seitig)
TEIL 1: _GC_TIMEOUT_S variable gemacht
- Statt harter 30.0-Konstante: Env-Variable PRESENCE_GC_TIMEOUT_S mit Default 1800.0s (30 Min)
- os.getenv('PRESENCE_GC_TIMEOUT_S', '1800') -> float in __init__
- GC_TIMEOUT_DEFAULT_S = 1800.0 als Klassenkonstante dokumentiert

TEIL 2: Progress-Refresh bei Core-Aktivitaet
- refresh_chat_profile_timestamp() in PresenceEngine hinzugefuegt
- Setzt self._counter_timestamps['chat_profile'] = time.time() unter transition_lock
- Im adapter.py send(): bei jeder ausgehenden Nachricht mit '⏳' wird der Timestamp refreshed
- Optional-additiv: wenn Refresh nicht feuert, greift 1800s-Cap als Notbremse

TEIL 3: Doku
- GC-Block-Kommentar in _drift_correction() auf P-041a erweitert
- install.sh: PRESENCE_GC_TIMEOUT_S env-Variable dokumentiert (Default 1800s)

Pitfalls: P-039, P-041, P-041a
2026-08-10 07:36:52 +02:00
..