Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jigold committed Sep 21, 2022
1 parent 32f0ab2 commit c5cf9ef
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 3 additions & 2 deletions batch/sql/no_dev_standing_workers_by_default.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ async def main():
await db.execute_update(
'''
UPDATE pools
SET enable_standing_worker = %s
''', (False,))
SET enable_standing_worker = 0
'''
)


loop = asyncio.get_event_loop()
Expand Down
3 changes: 3 additions & 0 deletions build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2076,6 +2076,9 @@ steps:
- name: add-jobs-update-id-index
script: /io/sql/add-jobs-update-id-index.sql
online: true
- name: no-dev-standing-workers-by-default
script: /io/sql/no_dev_standing_workers_by_default.py
online: true
inputs:
- from: /repo/batch/sql
to: /io/sql
Expand Down

0 comments on commit c5cf9ef

Please sign in to comment.