Skip to content

Commit b7e9065

Browse files
committed
reduce scheduled jobs
1 parent b226410 commit b7e9065

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

serverless.yml

+2-7
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ functions:
136136
timeout: 900
137137
memorySize: 250
138138
events:
139-
- schedule: cron(10 * * * ? *)
139+
- schedule: cron(10,45 * * * ? *)
140140
runAggregateAllAdapters:
141141
handler: src/handlers/runAggregateAllAdapters.default
142142
timeout: 900
@@ -147,8 +147,7 @@ functions:
147147
handler: src/handlers/checkStaleBridges.default
148148
timeout: 600
149149
memorySize: 2000
150-
events:
151-
- schedule: cron(0 0 * * ? *)
150+
152151
runAdapterFromTo:
153152
handler: src/handlers/runAdapterFromTo.default
154153
timeout: 900
@@ -157,8 +156,6 @@ functions:
157156
handler: src/handlers/runAllAdaptersHistorical.default
158157
timeout: 900
159158
memorySize: 1024
160-
events:
161-
- schedule: cron(0,15 * * * ? *)
162159
runAdapterByName:
163160
handler: src/handlers/runAdapterByName.default
164161
timeout: 900
@@ -167,8 +164,6 @@ functions:
167164
handler: src/handlers/dailyAggregateAllAdapters.default
168165
timeout: 900
169166
memorySize: 1024
170-
events:
171-
- schedule: cron(30 * * * ? *)
172167
getNetflows:
173168
handler: src/handlers/getNetflows.default
174169
timeout: 30

0 commit comments

Comments
 (0)