@@ -173,18 +173,6 @@ functions:
173173 description : Send out "your turn" notifications
174174 enabled : ${self:custom.scheduleEnabled.${self:provider.stage}}
175175 schedule : cron(0 14,22 * * ? *)
176- records :
177- handler : utils/records.handler
178- description : Generates static lists of game records
179- timeout : 900
180- memorySize : 10240
181- events :
182- - eventBridge :
183- name : abstractplay-${self:provider.stage}-records
184- description : Generates static lists of game records
185- enabled : ${self:custom.scheduleEnabled.${self:provider.stage}}
186- # 3am UTC every sunday (giving the dump plenty of time to complete)
187- schedule : cron(0 3 * * ? *)
188176 tournament-data :
189177 handler : utils/tournament-data.handler
190178 description : Summarizes tournament data
@@ -197,54 +185,6 @@ functions:
197185 enabled : ${self:custom.scheduleEnabled.${self:provider.stage}}
198186 # 3am UTC every sunday (giving the dump plenty of time to complete)
199187 schedule : cron(0 3 * * ? *)
200- records-ttm :
201- handler : utils/records-ttm.handler
202- description : Generates static time-to-move results of each game
203- timeout : 900
204- memorySize : 10240
205- events :
206- - eventBridge :
207- name : abstractplay-${self:provider.stage}-records-ttm
208- description : Generates static time-to-move results of each game
209- enabled : ${self:custom.scheduleEnabled.${self:provider.stage}}
210- # 3am UTC every sunday (giving the dump plenty of time to complete)
211- schedule : cron(0 3 * * ? *)
212- records-move-times :
213- handler : utils/records-move-times.handler
214- description : Generates list of moves made in past 180 days
215- timeout : 900
216- memorySize : 10240
217- events :
218- - eventBridge :
219- name : abstractplay-${self:provider.stage}-records-move-times
220- description : Generates list of moves made in past 180 days
221- enabled : ${self:custom.scheduleEnabled.${self:provider.stage}}
222- # 3am UTC every sunday (giving the dump plenty of time to complete)
223- schedule : cron(0 3 * * ? *)
224- records-manifest :
225- handler : utils/records-manifest.handler
226- description : Generates manifest file for records bucket
227- timeout : 900
228- memorySize : 10240
229- events :
230- - eventBridge :
231- name : abstractplay-${self:provider.stage}-records-manifest
232- description : Generates static time-to-move results of each game
233- enabled : ${self:custom.scheduleEnabled.${self:provider.stage}}
234- # 4am UTC every sunday (giving the various records scripts time to complete)
235- # then run again after summarize
236- schedule : cron(0 4,7 * * ? *)
237- summarize :
238- handler : utils/summarize.handler
239- description : Summarize generated game reports
240- timeout : 60
241- events :
242- - eventBridge :
243- name : abstractplay-${self:provider.stage}-summarize
244- description : Summarize generated game reports
245- enabled : ${self:custom.scheduleEnabled.${self:provider.stage}}
246- # 6am UTC daily (giving plenty of time for the record generation to complete)
247- schedule : cron(0 6 * * ? *)
248188 starttournaments :
249189 handler : utils/starttournaments.handler
250190 description : Checks if any tournaments are ready to start (and starts or cancels them)
0 commit comments