Skip to content

Commit

Permalink
Add back patch to fix memcached stats reset. See #1563. (#1577)
Browse files Browse the repository at this point in the history
Signed-off-by: Jean-Christophe Morin <jean_christophe_morin@hotmail.com>
  • Loading branch information
JeanChristopheMorinPerso committed Nov 11, 2023
1 parent 2db9073 commit 6583395
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/rez/vendor/memcache/memcache.py
Expand Up @@ -325,7 +325,8 @@ def get_stats(self, stat_args=None):
readline = s.readline
while 1:
line = readline()
if not line or line.decode('ascii').strip() == 'END':
# Rez: Patch for https://github.com/AcademySoftwareFoundation/rez/issues/1563.
if not line or line.decode('ascii').strip() in ('END', 'RESET'):
break
stats = line.decode('ascii').split(' ', 2)
serverData[stats[1]] = stats[2]
Expand Down

0 comments on commit 6583395

Please sign in to comment.