mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
add TODO comment for reminding event-based communication
This commit is contained in:
parent
70276800e6
commit
f3a72b2545
@ -12,6 +12,7 @@ export async function startValidateCommunities(timerInterval: number): Promise<v
|
||||
logger.info(
|
||||
`Federation: startValidateCommunities loop with an interval of ${timerInterval} ms...`,
|
||||
)
|
||||
// TODO: replace the timer-loop by an event-based communication to verify announced foreign communities
|
||||
// better to use setTimeout twice than setInterval once -> see https://javascript.info/settimeout-setinterval
|
||||
setTimeout(function run() {
|
||||
validateCommunities()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user