forked from kenzuya/unshackle
fix(serve): lock shared session state and throttle progress writes
Handlers share one service instance, so a per-session lock keeps two requests out of it at once. Track threads merge and write job state under one lock, and the progress sink coalesces ticks that say the same thing.
This commit is contained in:
@@ -182,7 +182,7 @@ class MonaLisa:
|
||||
|
||||
@property
|
||||
def key_pair(self) -> str:
|
||||
"""Get formatted KID:KEY pair for CLI decryptors (32hex:32hex)."""
|
||||
"""The formatted ``KID:KEY`` for CLI decryptors (32hex:32hex)."""
|
||||
if self._kid and self._key:
|
||||
return f"{self._kid.hex}:{self._key}"
|
||||
return ""
|
||||
|
||||
Reference in New Issue
Block a user