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

VirtualMachine: make receive timeout configurable #1449

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

illwieckz
Copy link
Member

Make receive timeout configurable.

I used this to make sure the Saigo-compiled code was stuck in an infinite loop and not just slower.

It may also help when loading the game from a very slow file system (like network file system over Internet), because the time waiting for the first receive is waiting for the nexe to be actually loaded (downloaded if a network file system).

static Cvar::Cvar<int> vm_timeout(
"vm.timeout",
"Receive timeout in seconds",
Cvar::INIT, 2);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why INIT?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants