mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
remove syncOnStart
This commit is contained in:
parent
b104249db8
commit
05afa2a11a
1 changed files with 0 additions and 11 deletions
|
|
@ -94,19 +94,8 @@ public class NotebookRepoSync implements NotebookRepo {
|
|||
LOG.info("No storages could be initialized, using default {} storage", defaultStorage);
|
||||
initializeDefaultStorage(conf);
|
||||
}
|
||||
//syncOnStart();
|
||||
}
|
||||
|
||||
private void syncOnStart() {
|
||||
if (getRepoCount() > 1) {
|
||||
try {
|
||||
AuthenticationInfo subject = new AuthenticationInfo("anonymous");
|
||||
sync(0, 1, subject);
|
||||
} catch (IOException e) {
|
||||
LOG.warn("Failed to sync with secondary storage on start {}", e);
|
||||
}
|
||||
}
|
||||
}
|
||||
@SuppressWarnings("static-access")
|
||||
private void initializeDefaultStorage(ZeppelinConfiguration conf) {
|
||||
Class<?> notebookStorageClass;
|
||||
|
|
|
|||
Loading…
Reference in a new issue