File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -358,6 +358,7 @@ async def putflag_note(
358358 col_username = build_collision (username , alphabet = ALPHABET )
359359 if username_normalform (username ) != username_normalform (col_username ):
360360 break
361+ logger .info (f"[putflag] Username: { username } collision={ col_username } " )
361362
362363 try :
363364 token = await con .register_and_login (username , password )
Original file line number Diff line number Diff line change 77ALGORITHM = "HS256"
88ACCESS_TOKEN_EXPIRE_MINUTES = 30
99
10- pwd_context = CryptContext (schemes = ["bcrypt " ], deprecated = "auto" )
10+ pwd_context = CryptContext (schemes = ["sha256_crypt " ], deprecated = "auto" )
1111
1212
1313def verify_password (plain_password , hashed_password ):
Original file line number Diff line number Diff line change 11import multiprocessing
22
33worker_class = "uvicorn.workers.UvicornWorker"
4- workers = min ( 4 , multiprocessing . cpu_count ())
4+ workers = 2
55bind = "0.0.0.0:2626"
66timeout = 90
77keepalive = 3600
You can’t perform that action at this time.
0 commit comments