Repository navigation
Commit d622731
committed
Make the default session TTL configurable via T3CODE_SESSION_TTL
Paired sessions hardcode a 30-day expiry, so every client ages out
monthly and must re-pair. SessionStore.issue now resolves its default
from T3CODE_SESSION_TTL (days, positive finite number; unset or invalid
keeps 30 days), read at issue time so the setting applies without a
server restart.1 parent 46140c9 commit d622731
2 files changed
Lines changed: 25 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
579 | 579 | | |
580 | 580 | | |
581 | 581 | | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
582 | 596 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
415 | 415 | | |
416 | 416 | | |
417 | 417 | | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
418 | 428 | | |
419 | 429 | | |
420 | 430 | | |
| |||
625 | 635 | | |
626 | 636 | | |
627 | 637 | | |
628 | | - | |
| 638 | + | |
629 | 639 | | |
630 | 640 | | |
631 | 641 | | |
| |||
0 commit comments