Skip to content

Commit

Permalink
Merge pull request #6 from jafar-atili/reduce_sid_refresh
Browse files Browse the repository at this point in the history
fix: reduce SID refresh every 15 minutes
  • Loading branch information
jafar-atili authored Jun 6, 2024
2 parents d64f885 + e6c3498 commit 4026936
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "pyElectra"
version = "1.2.0"
version = "1.2.1"
description = "Electra Smart Python Integration."
readme = "README.md"
authors = [{ name = "Jafar Atili", email = "[email protected]" }]
Expand All @@ -23,4 +23,4 @@ requires-python = ">=3.9"

[project.urls]
homepage = "https://pypi.org/project/pyelectra/"
repository = "https://github.com/jafar-atili/pyelectra/"
repository = "https://github.com/jafar-atili/pyelectra/"
2 changes: 1 addition & 1 deletion src/electrasmart/api/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

STATUS_SUCCESS = 0
DELAY_BETWEEM_SID_REQUESTS = int(timedelta(minutes=5).total_seconds())
SID_EXPIRATION = int(timedelta(hours=1).total_seconds())
SID_EXPIRATION = int(timedelta(minutes=15).total_seconds())


@dataclass
Expand Down

0 comments on commit 4026936

Please sign in to comment.