라이브코치 소스팩 새로고침 보강
This commit is contained in:
parent
84599bbaa2
commit
1e9f293fda
5 changed files with 182 additions and 8 deletions
|
|
@ -59,7 +59,11 @@ async def _main_async(args: argparse.Namespace) -> int:
|
|||
await init_pool()
|
||||
try:
|
||||
async with acquire(role="admin") as conn:
|
||||
result = await source_pack_sync.sync_repo_source_packs(conn, apply=bool(args.apply))
|
||||
result = await source_pack_sync.sync_repo_source_packs(
|
||||
conn,
|
||||
apply=bool(args.apply),
|
||||
refresh=True,
|
||||
)
|
||||
finally:
|
||||
await close_pool()
|
||||
if args.json:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue