Skip to content

Commit cfa809a

Browse files
authored
a user archived operation uses sys.maxsize in days (#2413)
this should keep it archived also when a server sets the threshold to a few years
1 parent 3255184 commit cfa809a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mslib/msui/mscolab.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1710,7 +1710,8 @@ def archive_operation(self):
17101710
data = {
17111711
"token": self.token,
17121712
"op_id": self.active_op_id,
1713-
"days": 31,
1713+
# when a user archives an operation we set the max “natural” integer in days
1714+
"days": sys.maxsize,
17141715
}
17151716
url = urljoin(self.mscolab_server_url, 'set_last_used')
17161717
try:

0 commit comments

Comments
 (0)