File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/main/java/de/komoot/photon/elasticsearch Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ public void start() {
74
74
/**
75
75
* Read the local and remote state file and then download any missing replication files
76
76
*
77
- * FIXME: should likely throw and exception if the difference between sequence numbers is very large
77
+ * FIXME: should likely throw an exception if the difference between sequence numbers is very large
78
78
*
79
79
*/
80
80
class ReplicationTask extends TimerTask {
@@ -132,8 +132,7 @@ public void run() {
132
132
log .info (String .format ("Update done. %d deletions %d updates or additions." , deletions , updates ));
133
133
}
134
134
} catch (IOException e ) {
135
- log .error ("Replicator failing" , e );
136
- cancel ();
135
+ log .error ("Replicator failing, cancelling timer task " , e );
137
136
}
138
137
}
139
138
}
You can’t perform that action at this time.
0 commit comments