Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sr3 sanity behaves badly with instances > 100. #1226

Merged
merged 2 commits into from
Sep 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
metpx-sr3 (3.00.55rc3) UNRELEASED; urgency=medium

* away from last release.

-- SSC-5CD2310S60 <[email protected]> Tue, 17 Sep 2024 15:54:06 -0400

metpx-sr3 (3.00.55rc2) stable; urgency=medium

* fix #1219 correct date conversion.
Expand Down
2 changes: 1 addition & 1 deletion sarracenia/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "3.00.55rc2"
__version__ = "3.00.55rc3"
4 changes: 2 additions & 2 deletions sarracenia/sr.py
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ def _read_state_dir(self):
continue

if pathname[-4:] == '.pid':
i = int(pathname[-6:-4])
i = int(pathname[0:-4].split('_')[-1])
if t.isdigit():
#print( "pid assignment: {c}/{cfg} instance: {i}, pid: {t}" )
self.states[c][cfg]['instance_pids'][i] = int(t)
Expand Down Expand Up @@ -585,7 +585,7 @@ def _find_missing_instances_dir(self, dir):
for filename in os.listdir():
# look at pid files, find ones where process is missing.
if filename[-4:] == '.pid':
i = int(filename[-6:-4])
i = int(filename[0:-4].split('_')[-1])
if i != 0:
p = pathlib.Path(filename)
if sys.version_info[0] > 3 or sys.version_info[
Expand Down
Loading