fix: run updateRdapServers every month

This commit is contained in:
Maël Gangloff
2024-07-19 23:50:41 +02:00
parent 367f62f25a
commit 00a58b2447

View File

@@ -22,7 +22,7 @@ final readonly class UpdateRdapServersSchedule implements ScheduleProviderInterf
{ {
return (new Schedule()) return (new Schedule())
->add( ->add(
RecurringMessage::every('30 seconds', new UpdateRdapServers()), RecurringMessage::every('1 month', new UpdateRdapServers()),
)->stateful($this->cache); )->stateful($this->cache);
} }
} }