|
@@ -190,7 +190,7 @@ public class ModelManager {
|
|
try {
|
|
try {
|
|
ossObj = client.getObject(bucketName, loadTask.path);
|
|
ossObj = client.getObject(bucketName, loadTask.path);
|
|
long timeStamp = ossObj.getObjectMetadata().getLastModified().getTime();
|
|
long timeStamp = ossObj.getObjectMetadata().getLastModified().getTime();
|
|
- if (loadTask.lastModifyTime <= timeStamp || isForceLoads) {
|
|
|
|
|
|
+ if (loadTask.lastModifyTime = timeStamp || isForceLoads) {
|
|
log.info("model file changed, ready to update, last modify: [{}], current model time: [{}]",
|
|
log.info("model file changed, ready to update, last modify: [{}], current model time: [{}]",
|
|
loadTask.lastModifyTime, timeStamp);
|
|
loadTask.lastModifyTime, timeStamp);
|
|
|
|
|