Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MIRROR] Moves inter-round caches to cache/. Deletes tmp/ between rounds. Keeps tts from killing servers. #1978

Merged
merged 1 commit into from
Feb 15, 2024

Conversation

Steals-The-PRs
Copy link
Collaborator

Mirrored on Nova: NovaSector/NovaSector#954
Original PR: tgstation/tgstation#81433

Fun fact, the only reason tts isn't killing our hard drive is because of auto-update. every time auto-update breaks, the hard drive fills up.

I skimmed all uses of tmp and found what i think is the only thing that assumes these will hang around between rounds.

I was gonna make this also handle deleting cache/ if tgs wasn't around by hashing the dmb and rsc files and checking this hash, but that will need this feature request ID:2912240 unless i want to work around it for something we don't even need in prod.

I decided to have tmp/ be deleted in both shutdown and startup so that clean shutdowns leave things... well.... clean, while still deleting in startup so that unclean shutdowns still cleans things.

…nds. Keeps tts from killing servers. (#954)

* Moves inter-round caches to cache/. Deletes tmp/ between rounds. Keeps tts from killing servers. (#81433)

* Moves inter-round caches to cache/. Deletes tmp/ between rounds. Keeps tts from killing servers.

---------

Co-authored-by: Kyle Spier-Swenson <[email protected]>
@Iajret Iajret merged commit 9c785fa into master Feb 15, 2024
24 checks passed
@Iajret Iajret deleted the upstream-mirror-954 branch February 15, 2024 20:09
Iajret pushed a commit that referenced this pull request Apr 14, 2024
… stacktrace (#1978)

* Adds the proc we're overriding to RegisterSignals's override stacktrace (#82641)

## About The Pull Request

We get it for quite literally free, no reason not to dump it. 
I always find myself checking in the debugger, which says something
about what'll happen when I don't have that again.

* Adds the proc we're overriding to RegisterSignals's override stacktrace

---------

Co-authored-by: LemonInTheDark <[email protected]>
ReezeBL pushed a commit that referenced this pull request Apr 14, 2024
… stacktrace (#1978) (#2871)

* Adds the proc we're overriding to RegisterSignals's override stacktrace (#82641)

## About The Pull Request

We get it for quite literally free, no reason not to dump it. 
I always find myself checking in the debugger, which says something
about what'll happen when I don't have that again.

* Adds the proc we're overriding to RegisterSignals's override stacktrace

---------

Co-authored-by: NovaBot <[email protected]>
Co-authored-by: LemonInTheDark <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants