[PR #2390] [MERGED] feat(monitor): monitor queries will not begin immediately after start #3625

Closed
opened 2026-02-27 03:55:12 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/GameServerManagers/LinuxGSM/pull/2390
Author: @dgibbs64
Created: 6/15/2019
Status: Merged
Merged: 6/15/2019
Merged by: @dgibbs64

Base: developHead: feature/2119-lockfile


📝 Commits (10+)

  • c61d0de feat(install): refactor gslt to automatically detect gslt variable
  • 1e3f615 Merge branch 'develop' into feature/gslt
  • 3d3c3f9 Merge branch 'develop' into feature/2119-lockfile
  • adad9ec feat(monitor): add udp query option
  • c562997 Merge branch 'develop' into feature/2119-lockfile
  • 9eb0031 lockfile now uses unix time instead of human readable date
  • 810859c bypass method being added
  • e2293b5 alter wording
  • 16e08a5 added querybypassed var
  • de0871f renamed to delay from bypass

📊 Changes

107 files changed (+436 additions, -39 deletions)

View changed files

📝 README.md (+12 -12)
📝 lgsm/config-default/config-lgsm/arkserver/_default.cfg (+4 -0)
📝 lgsm/config-default/config-lgsm/arma3server/_default.cfg (+4 -0)
📝 lgsm/config-default/config-lgsm/bb2server/_default.cfg (+4 -0)
📝 lgsm/config-default/config-lgsm/bbserver/_default.cfg (+4 -0)
📝 lgsm/config-default/config-lgsm/bdserver/_default.cfg (+4 -0)
📝 lgsm/config-default/config-lgsm/bf1942server/_default.cfg (+4 -0)
📝 lgsm/config-default/config-lgsm/bmdmserver/_default.cfg (+4 -0)
📝 lgsm/config-default/config-lgsm/boserver/_default.cfg (+4 -0)
📝 lgsm/config-default/config-lgsm/bsserver/_default.cfg (+4 -0)
📝 lgsm/config-default/config-lgsm/bt1944server/_default.cfg (+4 -0)
📝 lgsm/config-default/config-lgsm/ccserver/_default.cfg (+4 -0)
📝 lgsm/config-default/config-lgsm/cod2server/_default.cfg (+4 -0)
📝 lgsm/config-default/config-lgsm/cod4server/_default.cfg (+4 -0)
📝 lgsm/config-default/config-lgsm/codserver/_default.cfg (+4 -0)
📝 lgsm/config-default/config-lgsm/coduoserver/_default.cfg (+4 -0)
📝 lgsm/config-default/config-lgsm/codwawserver/_default.cfg (+4 -0)
📝 lgsm/config-default/config-lgsm/csczserver/_default.cfg (+4 -0)
📝 lgsm/config-default/config-lgsm/csgoserver/_default.cfg (+4 -0)
📝 lgsm/config-default/config-lgsm/csserver/_default.cfg (+4 -0)

...and 80 more files

📄 Description

Description

As a server admin, I would like a delay on the monitor querying the game server after starting as it takes time for the server to fully boot

Is your feature request related to a problem? Please describe.
It can sometimes take a few minutes for a server that has just started to boot and be ready to receive queries.

Describe the solution you'd like
Adding a lock file with the time and a variable querydelay=5 will cause the monitor to only check the binary is running and not query the server. After 5 mins the monitor will query as normal.

Fixes #2119

Type of change

  • Bug fix (change which fixes an issue).
  • New feature (change which adds functionality).
  • New Server (new server added).
  • Refactor (restructures existing code).
  • Comment update (typo, spelling, explanation, examples, etc).
  • This change requires a documentation update.

Checklist

  • This code follows the style guidelines of this project.
  • This pull request links to an issue.
  • This pull request uses the develop branch as its base.
  • I have provided Co-author details below.
  • I have performed a self-review of my own code.
  • I have squashed commits.
  • I have commented my code, particularly in hard to understand areas.
  • I have made corresponding changes to the documentation if required.

Provide Github Email

Fill out below info or tick box below:

Co-authored-by: John Doe <name@example.com>
  • I do not wish to provide an email. I am aware this will hide me as the author of this commit.

All pull requests will now be squashed to create a tidy commit history and simplify changelog creation. You can provide either your own email or a GitHub-provided no-reply email.

When a PR is squashed the author becomes the person who squashed the PR. This removes you as the author of your own PR.
The only workaround for this is to add your details as a co-author. More info about co-authors can be found here.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/GameServerManagers/LinuxGSM/pull/2390 **Author:** [@dgibbs64](https://github.com/dgibbs64) **Created:** 6/15/2019 **Status:** ✅ Merged **Merged:** 6/15/2019 **Merged by:** [@dgibbs64](https://github.com/dgibbs64) **Base:** `develop` ← **Head:** `feature/2119-lockfile` --- ### 📝 Commits (10+) - [`c61d0de`](https://github.com/GameServerManagers/LinuxGSM/commit/c61d0dea35963b42bc0e34b376f5a84cd0904136) feat(install): refactor gslt to automatically detect gslt variable - [`1e3f615`](https://github.com/GameServerManagers/LinuxGSM/commit/1e3f615be2833ac61878214fdc4fbd1606896f18) Merge branch 'develop' into feature/gslt - [`3d3c3f9`](https://github.com/GameServerManagers/LinuxGSM/commit/3d3c3f991722f548c52d8423277049f765b7317f) Merge branch 'develop' into feature/2119-lockfile - [`adad9ec`](https://github.com/GameServerManagers/LinuxGSM/commit/adad9ec2cac7e935d03a9c0e512abcd4abc16fae) feat(monitor): add udp query option - [`c562997`](https://github.com/GameServerManagers/LinuxGSM/commit/c56299770795ec2285811859e9946b7fa9206fc6) Merge branch 'develop' into feature/2119-lockfile - [`9eb0031`](https://github.com/GameServerManagers/LinuxGSM/commit/9eb00310d92e9ea0faafa0febfb9f0ea36de73e0) lockfile now uses unix time instead of human readable date - [`810859c`](https://github.com/GameServerManagers/LinuxGSM/commit/810859c260810c59f50f3207c21beecdb0ef77c3) bypass method being added - [`e2293b5`](https://github.com/GameServerManagers/LinuxGSM/commit/e2293b5f41b6dd323df6043b1bd7afd7603fcc69) alter wording - [`16e08a5`](https://github.com/GameServerManagers/LinuxGSM/commit/16e08a56b5018bd4c36fcb9ba18d737a336cd638) added querybypassed var - [`de0871f`](https://github.com/GameServerManagers/LinuxGSM/commit/de0871fd7989ec07445c7fd64ca372d18f76b00c) renamed to delay from bypass ### 📊 Changes **107 files changed** (+436 additions, -39 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+12 -12) 📝 `lgsm/config-default/config-lgsm/arkserver/_default.cfg` (+4 -0) 📝 `lgsm/config-default/config-lgsm/arma3server/_default.cfg` (+4 -0) 📝 `lgsm/config-default/config-lgsm/bb2server/_default.cfg` (+4 -0) 📝 `lgsm/config-default/config-lgsm/bbserver/_default.cfg` (+4 -0) 📝 `lgsm/config-default/config-lgsm/bdserver/_default.cfg` (+4 -0) 📝 `lgsm/config-default/config-lgsm/bf1942server/_default.cfg` (+4 -0) 📝 `lgsm/config-default/config-lgsm/bmdmserver/_default.cfg` (+4 -0) 📝 `lgsm/config-default/config-lgsm/boserver/_default.cfg` (+4 -0) 📝 `lgsm/config-default/config-lgsm/bsserver/_default.cfg` (+4 -0) 📝 `lgsm/config-default/config-lgsm/bt1944server/_default.cfg` (+4 -0) 📝 `lgsm/config-default/config-lgsm/ccserver/_default.cfg` (+4 -0) 📝 `lgsm/config-default/config-lgsm/cod2server/_default.cfg` (+4 -0) 📝 `lgsm/config-default/config-lgsm/cod4server/_default.cfg` (+4 -0) 📝 `lgsm/config-default/config-lgsm/codserver/_default.cfg` (+4 -0) 📝 `lgsm/config-default/config-lgsm/coduoserver/_default.cfg` (+4 -0) 📝 `lgsm/config-default/config-lgsm/codwawserver/_default.cfg` (+4 -0) 📝 `lgsm/config-default/config-lgsm/csczserver/_default.cfg` (+4 -0) 📝 `lgsm/config-default/config-lgsm/csgoserver/_default.cfg` (+4 -0) 📝 `lgsm/config-default/config-lgsm/csserver/_default.cfg` (+4 -0) _...and 80 more files_ </details> ### 📄 Description # Description As a server admin, I would like a delay on the monitor querying the game server after starting as it takes time for the server to fully boot Is your feature request related to a problem? Please describe. It can sometimes take a few minutes for a server that has just started to boot and be ready to receive queries. Describe the solution you'd like Adding a lock file with the time and a variable querydelay=5 will cause the monitor to only check the binary is running and not query the server. After 5 mins the monitor will query as normal. Fixes #2119 ## Type of change * [ ] Bug fix (change which fixes an issue). * [x] New feature (change which adds functionality). * [ ] New Server (new server added). * [ ] Refactor (restructures existing code). * [ ] Comment update (typo, spelling, explanation, examples, etc). * [ ] This change requires a documentation update. ## Checklist * [ ] This code follows the style guidelines of this project. * [ ] This pull request links to an issue. * [ ] This pull request uses the `develop` branch as its base. * [ ] I have provided Co-author details below. * [ ] I have performed a self-review of my own code. * [ ] I have squashed commits. * [ ] I have commented my code, particularly in hard to understand areas. * [ ] I have made corresponding changes to the documentation if required. ## Provide Github Email Fill out below info or tick box below: ``` Co-authored-by: John Doe <name@example.com> ``` - [ ] I do not wish to provide an email. I am aware this will hide me as the author of this commit. All pull requests will now be squashed to create a tidy commit history and simplify changelog creation. You can provide either your own email or a GitHub-provided no-reply email. When a PR is squashed the author becomes the person who squashed the PR. This removes you as the author of your own PR. The only workaround for this is to add your details as a co-author. More info about co-authors can be found [here](https://help.github.com/en/articles/creating-a-commit-with-multiple-authors). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 03:55:12 +03:00
Sign in to join this conversation.
No labels
Atomic
Epic
cannot reproduce
command: backup
command: console
command: debug
command: details
command: fast-dl
command: install
command: mods
command: monitor
command: post-details
command: restart
command: send
command: start
command: stop
command: update
command: update-lgsm
command: validate
command: wipe
distro: AlmaLinux
distro: Arch Linux
distro: CentOS
distro: Debian
distro: Fedora
distro: RedHat
distro: Rocky Linux
distro: Ubuntu
distro: openSUSE
engine: goldsrc
engine: source
game: 7 Days to Die
game: ARMA 3
game: Ark: Survival Evolved
game: Assetto Corsa
game: Avorion
game: BATTALION: Legacy
game: Barotrauma
game: Battalion 1944
game: Battlefield 1942
game: Black Mesa: Deathmatch
game: Blade Symphony
game: Call of Duty 2
game: Call of Duty 4
game: Call of Duty: United Offensive
game: Counter-Strike 1.6
game: Counter-Strike 2
game: Counter-Strike: Global Offensive
game: Counter-Strike: Source
game: Day of Infamy
game: Dayz
game: Death Match Classic
game: Don't Starve Together
game: ET: Legacy
game: Eco
game: Factorio
game: Factorio
game: Garry's Mod
game: Half-Life
game: Hurtword
game: Insurgecy
game: Insurgecy
game: Insurgency: Sandstorm
game: Just Cause 3
game: Killing Floor
game: Killing Floor 2
game: Left 4 Dead 2
game: Minecraft
game: Minecraft Bedrock
game: Mordhau
game: Multi Theft Auto
game: Mumble
game: Natural Selection 2
game: No More Room in Hell
game: Pavlov VR
game: Post Scriptum
game: Project Zomboid
game: Quake 3
game: QuakeWorld
game: Red Orchestra: Ostfront 41-45
game: Return to Castle Wolfenstein
game: Rising World
game: Rust
game: San Andreas Multiplayer
game: Satisfactory
game: Soldat
game: Soldier of Fortune 2
game: Squad
game: Squad 44
game: Starbound
game: Stationeers
game: Sven Co-op
game: Team Fortress 2
game: Teamspeak 3
game: Teeworlds
game: Terraria
game: The Front
game: Unreal Tournament 2004
game: Unreal Tournament 3
game: Unreal Tournament 99
game: Unturned
game: Valheim
game: Wurm Unlimited
game: Zombie Master Reborn
game: label missing
good first issue
help wanted
info: alerts
info: dependency
info: docker
info: docs
info: email
info: query
info: steamcmd
info: systemd
info: tmux
info: website
info: website
needs more info
outcome: duplicate
outcome: issue resolved
outcome: issue resolved
outcome: issue unresolved
outcome: pr accepted
outcome: pr rejected
outcome: unconfirmed
outcome: wontfix
outcome: wrong forum
potential-duplicate
priority
pull-request
type: bug
type: feature
type: feature
type: feature request
type: game server request
type: refactor
waiting response
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/LinuxGSM#3625
No description provided.