delete redis key
This commit is contained in:
3
main.py
3
main.py
@@ -190,8 +190,7 @@ async def fastapi_run_project(network: str) -> str:
|
|||||||
return result
|
return result
|
||||||
finally:
|
finally:
|
||||||
# 手动释放锁(可选,依赖过期时间自动释放更安全)
|
# 手动释放锁(可选,依赖过期时间自动释放更安全)
|
||||||
# redis_client.delete(lock_key)
|
redis_client.delete(lock_key)
|
||||||
pass
|
|
||||||
|
|
||||||
# put in inp folder, name without extension
|
# put in inp folder, name without extension
|
||||||
@app.get("/runinp/")
|
@app.get("/runinp/")
|
||||||
|
|||||||
Reference in New Issue
Block a user