Skip to content

Commit

Permalink
Reduce the number of available threads in the Data Modeling pool to 1 (
Browse files Browse the repository at this point in the history
  • Loading branch information
erlendvollset authored Sep 26, 2023
1 parent 42626a5 commit 159b75d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ Changes are grouped as follows
- `Fixed` for any bug fixes.
- `Security` in case of vulnerabilities.

## [6.27.0] - 2023-09-13
### Changed
- Reduce concurrency in data modeling client to 1

## [6.26.0] - 2023-09-22
### Added
- Support `partition` and `cursor` parameters on `time_series.subscriptions.iterate_data`
Expand Down Expand Up @@ -77,7 +81,7 @@ data modeling query and receive updates through a provided callback.
### Added
- Supporting pattern mode and extra configuration for diagram detect in beta.

## [6.20.0] - 2023-09-06
## [6.20.0] - 2023-09-05
### Fixed
- When creating functions with `client.functions.create` using the `folder` argument, a trial-import is executed as part of
the verification process. This could leave leftover modules still in scope, possibly affecting subsequent calls. This is
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

_THREAD_POOL_EXECUTOR_SINGLETON: ThreadPoolExecutor
_MAIN_THREAD_EXECUTOR_SINGLETON = MainThreadExecutor()
_MAX_WORKERS = 2
_MAX_WORKERS = 1


def get_data_modeling_executor() -> TaskExecutor:
Expand Down
2 changes: 1 addition & 1 deletion cognite/client/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from __future__ import annotations

__version__ = "6.26.0"
__version__ = "6.27.0"
__api_subversion__ = "V20220125"
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]
name = "cognite-sdk"

version = "6.26.0"
version = "6.27.0"

description = "Cognite Python SDK"
readme = "README.md"
Expand Down

0 comments on commit 159b75d

Please sign in to comment.