-
-
Notifications
You must be signed in to change notification settings - Fork 217
Establish a default timeout for MySQL connectivity #188
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
Establish a default timeout for MySQL connectivity #188
Conversation
|
I hope it is okay to put this kind of config into core.ini, it is the best place for it imo. 🚢 |
|
Why duplicate |
|
@xPaw: This is not a duplication of the @AngeIII: What do you mean? We added the new entry in core.cfg precisely to allow changing the constant. By the way: It is intended that an undefined timeout and we now have a read/write timeout established. |
|
@Nextra I mean maybe better to write constant "60" into some #define (if once it will be needed to change it will be very easy to change in one place only). |
|
@AngeIII Timeout is per database connection. That's something you provide in |
|
@AngeIII: This is an AMXX module config option which is why it is located in core.ini. I don't quite understand how a compile-time define would be in any way easier than a runtime config option. Nobody wants to recompile a module to change such a simple thing. |
…meout Establish a default timeout for MySQL connectivity
Same as alliedmodders/sourcemod#248.
core.ini.