mirror of
https://github.com/YuzuZensai/TrollSSH.git
synced 2026-09-13 16:39:06 +00:00
🚀 perf: Performance and Memory optimization
This commit is contained in:
+8
-7
@@ -1,12 +1,7 @@
|
||||
HOST=0.0.0.0
|
||||
PORT=22
|
||||
|
||||
# Generation settings
|
||||
# Stored frame resolution in pixels. Higher = sharper but bigger .tsf files.
|
||||
# regenerate your frames after changing it.
|
||||
FRAME_RESOLUTION=512
|
||||
|
||||
# Playback settings.
|
||||
# Playback settings
|
||||
# Playthroughs before the session is closed (0, unlimited).
|
||||
MAX_LOOP=5
|
||||
# Whether to keep looping the same frame set or pick a random one after each
|
||||
@@ -30,7 +25,13 @@ INVERT=false
|
||||
FORCE_GRAYSCALE=false
|
||||
|
||||
# Max rendered width/height in characters.
|
||||
MAX_DIMENSION=1080
|
||||
MAX_DIMENSION=512
|
||||
|
||||
# Memory budget in MB for the rendered-frame cache (0 disables caching).
|
||||
RENDER_CACHE_MB=256
|
||||
|
||||
# Go soft memory limit; set below your container limit to avoid OOM kills.
|
||||
GOMEMLIMIT=1GiB
|
||||
|
||||
# Connection limits. New connections over a limit are dropped immediately.
|
||||
# Max simultaneous connections from a single client IP.
|
||||
|
||||
Reference in New Issue
Block a user