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

statusbot add parameter for db cleanup #183

Closed
wants to merge 9 commits into from
Closed

statusbot add parameter for db cleanup #183

wants to merge 9 commits into from

Conversation

hbeni
Copy link
Owner

@hbeni hbeni commented Mar 20, 2024

Statusbot add parameter for db cleanup.
Also added chat admin commands to tune the bot at runtime.
Documentation has been cleaned up too.

hbeni added 9 commits March 20, 2024 17:34
The lua shared functions lib now supports calling a hook
for when plugin data was parsed.
A bot now can hook custom code into parsePluginData()
by supplying fgcom.hooks.parsePluginData_afterParseIID = function(sid, iid)
…, iid)

  Its called when cleaning up an entry.
  return false to prevent the entry to be cleaned out.

Server/Statusbot: add more hooks, and try to prevent duplicate entries (#177)

Server/Statusbot: make sure, the data structure has a type field default

fix #174 (hopefully)
maybe also #177
Prevent nil value for new clients
…se build)

Makefile still mentioned the old file, crashing the packaging process for releases

Addition to commit 8ca0d40
New startup config option --purge to be able to adjust the purge interval of stale entries

New support for chat commands to change the purge interval in realtime

Fix #181
@hbeni hbeni self-assigned this Mar 20, 2024
@hbeni
Copy link
Owner Author

hbeni commented Mar 20, 2024

#184 cherry picked the relevant commit

@hbeni hbeni closed this Mar 20, 2024
@hbeni hbeni deleted the Issue-181 branch March 20, 2024 21:22
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.

1 participant