Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
88966f02
Unverified
Commit
88966f02
authored
Apr 07, 2026
by
MatejKosec
Committed by
GitHub
Apr 08, 2026
Browse files
fix(nixl): fix iteration_count debug logging in _wait_for_completion_ (#7966)
Signed-off-by:
Matej Kosec
<
mkosec@nvidia.com
>
parent
5841deda
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
lib/bindings/python/src/dynamo/nixl_connect/__init__.py
lib/bindings/python/src/dynamo/nixl_connect/__init__.py
+7
-3
No files found.
lib/bindings/python/src/dynamo/nixl_connect/__init__.py
View file @
88966f02
...
...
@@ -21,6 +21,7 @@ import ctypes
import
logging
import
socket
import
threading
import
time
import
uuid
import
zlib
from
abc
import
ABC
,
abstractmethod
...
...
@@ -447,12 +448,15 @@ class ActiveOperation(AbstractOperation):
)
->
None
:
# Loop until the operation is no longer in progress (or "initialized"),
# yielding control to the event loop to allow other operations to run.
iteration_count
=
0
start
=
time
.
monotonic
()
next_log_time
=
start
sleep_time
=
min_poll_ms
while
True
:
if
iteration_count
&
10
==
0
:
now
=
time
.
monotonic
()
if
now
>=
next_log_time
:
next_log_time
=
now
+
10.0
logger
.
debug
(
f
"dynamo.nixl_connect.
{
self
.
__class__
.
__name__
}
: Waiting for operation {{ kind=
{
self
.
_operation_kind
}
, remote='
{
self
.
_remote
.
name
}
', duration=
{
iteration_count
/
10
}
s }}."
f
"dynamo.nixl_connect.
{
self
.
__class__
.
__name__
}
: Waiting for operation {{ kind=
{
self
.
_operation_kind
}
, remote='
{
self
.
_remote
.
name
}
', duration=
{
now
-
start
:.
1
f
}
s }}."
)
match
self
.
status
:
# "in progress" or "initialized" means the operation is ongoing.
...
...
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