Skip to content

Commit

Permalink
Merge pull request #217 from valory-xyz/fix/process-kill
Browse files Browse the repository at this point in the history
fixes
  • Loading branch information
solarw authored Jul 4, 2024
2 parents 6fe47f6 + 0320842 commit 69be33d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions operate/services/deployment_runner.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# ------------------------------------------------------------------------------
#
# Copyright 2024 Valory AG
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# ------------------------------------------------------------------------------
"""Source code to run and stop deployments created."""
import json
import os
Expand Down
2 changes: 1 addition & 1 deletion operate/services/manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -947,7 +947,7 @@ async def healthcheck_job(
logging.info(
f"Error occured while checking the service health\n{traceback.format_exc()}"
)
await asyncio.sleep(300)
await asyncio.sleep(30)

def deploy_service_locally(self, hash: str, force: bool = True) -> Deployment:
"""
Expand Down

0 comments on commit 69be33d

Please sign in to comment.