Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
opcua-asyncio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nikola Balog
opcua-asyncio
Commits
e680d7ee
Commit
e680d7ee
authored
Nov 25, 2022
by
Alexander Travov
Committed by
oroulet
Nov 25, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix off-by-one error in continuation point calculation.
parent
9d5861ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
asyncua/server/history.py
asyncua/server/history.py
+2
-2
No files found.
asyncua/server/history.py
View file @
e680d7ee
...
...
@@ -152,7 +152,7 @@ class HistoryDict(HistoryStorageInterface):
results
=
results
[:
nb_values
]
if
len
(
results
)
>
self
.
max_history_data_response_size
:
cont
=
results
[
self
.
max_history_data_response_size
+
1
].
SourceTimestamp
cont
=
results
[
self
.
max_history_data_response_size
].
SourceTimestamp
results
=
results
[:
self
.
max_history_data_response_size
]
return
results
,
cont
...
...
@@ -202,7 +202,7 @@ class HistoryDict(HistoryStorageInterface):
results
=
results
[:
nb_values
]
if
len
(
results
)
>
self
.
max_history_data_response_size
:
cont
=
results
[
self
.
max_history_data_response_size
+
1
].
Time
cont
=
results
[
self
.
max_history_data_response_size
].
Time
results
=
results
[:
self
.
max_history_data_response_size
]
return
results
,
cont
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment