Skip to content

Commit 4aef8cc

Browse files
committed
fix(NextFpmPort): update default last_id value to 0 when no IDs exist
1 parent 8be3653 commit 4aef8cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

imageroot/update-module.d/10fix_NextFpmPort

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ try:
4545
if ids:
4646
last_id = max(ids)
4747
else:
48-
last_id = 10000 # Default to 10 000 if no IDs exist few chances to get 1000 active vhosts
48+
last_id = 0 # Default to 0 if no IDs exist, no vhosts
4949
except:
5050
last_id = 10000 # Default to 10 000 if ecxeption, few chances to get 1000 active vhosts
5151

0 commit comments

Comments
 (0)