File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1717# We intentionally not have the ssh key pair to be stored in
1818# ~/.sky/api_server/clients, i.e. sky.server.common.API_SERVER_CLIENT_DIR,
1919# because ssh key pair need to persist across API server restarts, while
20- # the former dir is empheral .
20+ # the former dir is ephemeral .
2121_SSH_KEY_PATH_PREFIX = '~/.sky/clients/{user_hash}/ssh'
2222
2323
Original file line number Diff line number Diff line change 3131def refresh_server_id () -> None :
3232 """Refresh the server id.
3333
34- This function is used to ensure the server id is read from the authorative
34+ This function is used to ensure the server id is read from the authoritative
3535 source.
3636 """
3737 global SERVER_ID
Original file line number Diff line number Diff line change @@ -1115,7 +1115,7 @@ def release_memory():
11151115 gc .collect ()
11161116 if sys .platform .startswith ('linux' ):
11171117 # Will fail on musl (alpine), but at least it works on our
1118- # offical docker images.
1118+ # official docker images.
11191119 libc = ctypes .CDLL ('libc.so.6' )
11201120 return libc .malloc_trim (0 )
11211121 return 0
Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ def add_column_to_table_sqlalchemy(
185185 pass
186186 else :
187187 raise
188- #postgressql
188+ #postgresql
189189 except sqlalchemy_exc .ProgrammingError as e :
190190 if 'already exists' in str (e ):
191191 pass
Original file line number Diff line number Diff line change @@ -274,7 +274,7 @@ def force_unlock(self) -> None:
274274 cursor .execute ('SELECT pg_advisory_unlock(%s)' , (self ._lock_key ,))
275275 result = cursor .fetchone ()[0 ]
276276 if result :
277- # The lock is held by current routine and unlock suceed
277+ # The lock is held by current routine and unlock succeed
278278 self ._connection .commit ()
279279 self ._acquired = False
280280 return
You can’t perform that action at this time.
0 commit comments