Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
locklost-olifork
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Oli Patane
locklost-olifork
Commits
54fae726
Commit
54fae726
authored
10 months ago
by
Jameson Rollins
Browse files
Options
Downloads
Patches
Plain Diff
search: log search channel
parent
0606b55d
No related branches found
Branches containing commit
Tags
0.27.3
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
locklost/search.py
+3
-3
3 additions, 3 deletions
locklost/search.py
with
3 additions
and
3 deletions
locklost/search.py
+
3
−
3
View file @
54fae726
...
...
@@ -63,15 +63,15 @@ def search_iterate(segment=None, event_callback=None, stat_file=None):
"""
Iterative search for events (NDS-only)
"""
channel
=
config
.
GRD_STATE_N_CHANNEL
if
segment
:
logger
.
info
(
"
searching
segment {}...
"
.
format
(
segment
)
)
logger
.
info
(
f
"
searching
channel
{
channel
}
segment
{
segment
}
...
"
)
else
:
logger
.
info
(
"
searching online...
"
)
logger
.
info
(
f
"
searching
channel
{
channel
}
online...
"
)
previous
=
None
nevents
=
0
nbufs
=
0
progress
=
None
channel
=
config
.
GRD_STATE_N_CHANNEL
for
bufs
in
data
.
nds_iterate
([
channel
],
start_end
=
segment
):
buf
=
bufs
[
0
]
if
previous
is
None
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment