Skip to content

Commit

Permalink
update init files (#298)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShilinHe authored Apr 11, 2024
1 parent ce9e433 commit a7569bf
Show file tree
Hide file tree
Showing 10 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def revert():
"Operating System :: OS Independent",
],
package_data={
"taskweaver": ["**/*.yaml"],
"taskweaver": ["**/*.yaml", "**/*.yml"],
},
entry_points={
"console_scripts": ["taskweaver=taskweaver.__main__:main"],
Expand Down
6 changes: 3 additions & 3 deletions taskweaver/ces/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,15 +259,15 @@ def start_session(
)

tick = 0
while tick < 10:
while tick < 30:
container.reload()
if container.status == "running" and os.path.isfile(connection_file):
logger.info("Container is running and connection file is ready.")
break
time.sleep(1) # wait for 1 second before checking again
tick += 1
if tick == 10:
raise Exception("Container is not ready after 10 seconds")
if tick == 30:
raise Exception("Container is not ready after 30 seconds")

# save the ports to ces session dir
port_bindings = container.attrs["NetworkSettings"]["Ports"]
Expand Down
Empty file.
Empty file.
Empty file.
Empty file added taskweaver/chat/__init__.py
Empty file.
Empty file.
Empty file.
Empty file.
Empty file added taskweaver/module/__init__.py
Empty file.

0 comments on commit a7569bf

Please sign in to comment.