Skip to content

Commit

Permalink
feat: for file based scripts check both script revision and file (#2878)
Browse files Browse the repository at this point in the history
modification time #2877

Co-authored-by: Yuriy Movchan <Yuriy.Movchan@gmail.com>
  • Loading branch information
yuremm and yurem authored Nov 7, 2022
1 parent 5e0f1e6 commit 97ab071
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ private ReloadResult reloadCustomScriptConfigurations(
// reload script automatically after changing location_type
long fileModifiactionTime = getFileModificationTime(newCustomScript.getLocationPath());

newCustomScript.setRevision(fileModifiactionTime);
newCustomScript.setRevision(newCustomScript.getRevision() + fileModifiactionTime);
}

String newSupportedCustomScriptInum = StringHelper.toLowerCase(newCustomScript.getInum());
Expand Down

0 comments on commit 97ab071

Please sign in to comment.