From 36e41939772d0441dc023f7b02e96567441b02ec Mon Sep 17 00:00:00 2001 From: Julio Capote Date: Sun, 1 Jan 2023 20:21:10 -0500 Subject: execute tick on boot, add real world handler example --- sample-config.toml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'sample-config.toml') diff --git a/sample-config.toml b/sample-config.toml index a77678c..7cd02f7 100644 --- a/sample-config.toml +++ b/sample-config.toml @@ -1,13 +1,19 @@ domain = "activitybub.xyz" dbPath = "bub.db" +# [[handlers]] +# name = "sample" +# rpc = "cgi" # rename to protocol? +# exec = "sample-cgi-handler.sh" +# interval = "5s" +# dedupWindow = "1m" + [[handlers]] -name = "sample" +name = "autosport" rpc = "cgi" # rename to protocol? -# add response type? like Note -exec = "sample-cgi-handler.sh" -interval = "5s" -dedupWindow = "1m" +exec = "autosport-handler.sh" +interval = "10m" +dedupWindow = "900h" # [[handlers]] # name = "another" -- cgit v1.2.3