liquid_feedback_frontend
diff app/main/_prefork/10_init.lua @ 1533:d432f85e868e
Completed firstlife group mirror feature
| author | bsw |
|---|---|
| date | Mon Oct 05 15:51:47 2020 +0200 (2020-10-05) |
| parents | 45fd259aa1ad |
| children | 1335379a85d2 |
line diff
1.1 --- a/app/main/_prefork/10_init.lua Sun Oct 04 16:31:47 2020 +0200 1.2 +++ b/app/main/_prefork/10_init.lua Mon Oct 05 15:51:47 2020 +0200 1.3 @@ -237,5 +237,21 @@ 1.4 max_fork = 1 1.5 } 1.6 1.7 +if config.firstlife_groups then 1.8 + assert(loadcached(encode.file_path(WEBMCP_BASE_PATH, "lib", "firstlife", "groups.lua")))() 1.9 + listen{ 1.10 + { 1.11 + proto = "interval", 1.12 + name = "send_pending_notifications", 1.13 + delay = 5, 1.14 + handler = function() 1.15 + firstlife_mirror_groups() 1.16 + end 1.17 + }, 1.18 + min_fork = 1, 1.19 + max_fork = 1 1.20 + } 1.21 +end 1.22 + 1.23 execute.inner() 1.24