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
2 people authored and pujavs committed Nov 8, 2022
1 parent dbee207 commit cffd239
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 cffd239

Please sign in to comment.