Skip to content

Commit 69b09ed

Browse files
authored
Merge pull request #2119 from Drakkar-Software/dev
Master merge
2 parents 4a03c1c + 56080ef commit 69b09ed

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
*It is strongly advised to perform an update of your tentacles after updating OctoBot. (start.py tentacles --install --all)*
88

9+
## [0.4.22] - 2022-11-23
10+
### Added
11+
- System resources watcher
12+
913
## [0.4.21] - 2022-11-23
1014
### Added
1115
- Order quantity in Trading modes config

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# OctoBot [0.4.21](https://octobot.click/gh-changelog)
1+
# OctoBot [0.4.22](https://octobot.click/gh-changelog)
22
[![PyPI](https://img.shields.io/pypi/v/OctoBot.svg)](https://octobot.click/gh-pypi)
33
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/e07fb190156d4efb8e7d07aaa5eff2e1)](https://app.codacy.com/gh/Drakkar-Software/OctoBot?utm_source=github.com&utm_medium=referral&utm_content=Drakkar-Software/OctoBot&utm_campaign=Badge_Grade_Dashboard)[![Downloads](https://pepy.tech/badge/octobot/month)](https://pepy.tech/project/octobot)
44
[![Dockerhub](https://img.shields.io/docker/pulls/drakkarsoftware/octobot.svg)](https://octobot.click/gh-dockerhub)

octobot/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
PROJECT_NAME = "OctoBot"
2525
AUTHOR = "DrakkarSoftware"
26-
SHORT_VERSION = "0.4.21" # major.minor.revision
26+
SHORT_VERSION = "0.4.22" # major.minor.revision
2727
PATCH_VERSION = "" # patch : pX
2828
VERSION_DEV_PHASE = "" # alpha : a / beta : b / release candidate : rc
2929
VERSION_PHASE = "" # XX

octobot/octobot.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
import octobot_commons.databases as databases
2727
import octobot_commons.tree as commons_tree
2828
import octobot_commons.os_clock_sync as os_clock_sync
29+
import octobot_commons.system_resources_watcher as system_resources_watcher
2930

3031
import octobot_services.api as service_api
3132
import octobot_trading.api as trading_api
@@ -118,6 +119,7 @@ async def initialize(self):
118119
await logger.init_octobot_chan_logger(self.bot_id)
119120
await self.create_producers()
120121
await self.start_producers()
122+
await system_resources_watcher.start_system_resources_watcher()
121123
await self._post_initialize()
122124

123125
async def create_producers(self):
@@ -185,6 +187,7 @@ async def stop(self):
185187
await self.community_auth.stop()
186188
await self.service_feed_producer.stop()
187189
await os_clock_sync.stop_clock_synchronizer()
190+
await system_resources_watcher.stop_system_resources_watcher()
188191
service_api.stop_services()
189192
await self.interface_producer.stop()
190193
await databases.close_bot_storage(self.bot_id)

0 commit comments

Comments
 (0)