Skip to content
This repository has been archived by the owner on Sep 12, 2018. It is now read-only.

Commit

Permalink
Merge branch 'fix/check-update-too-frequently' of dlab/hive
Browse files Browse the repository at this point in the history
from pull-request 1406

* refs/heads/fix/check-update-too-frequently:
  YobiUpdate: Fix incorrect update site
  YobiUpdate: Do not check update so frequently

Reviewed-by: 백기선 <keesun.baik@navercorp.com>
  • Loading branch information
이응준 committed Dec 19, 2014
2 parents 03a0c99 + 7a6d696 commit c0f85d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/models/YobiUpdate.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public class YobiUpdate {
private static final Long UPDATE_NOTIFICATION_INTERVAL_IN_MILLIS = Configuration.root()
.getMilliseconds("application.update.notification.interval", 60 * 60 * 1000L);
private static final String UPDATE_REPOSITORY_URL = Configuration.root()
.getString("application.update.repositoryUrl", "https://github.com/naver/yobi");
.getString("application.update.repositoryUrl", "http://repo.yobi.io/naver/yobi");
private static final String RELEASE_URL_FORMAT = Configuration.root()
.getString("application.update.releaseUrlFormat",
"https://github.com/naver/yobi/releases/tag/v%s");
Expand Down
2 changes: 1 addition & 1 deletion conf/application.conf.default
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ application.notification.draft-time = 30s
# Software Update
# ~~~~~~~~~~~~~~~
# Check for updates of Yobi at this interval if it is grater than 0.
application.update.notification.interval = 1d
application.update.notification.interval = 1h
# A url to the git repository for Yobi releases.
application.update.repositoryUrl = "http://repo.yobi.io/naver/yobi"
# A format to construct the url to latest Yobi release. "%s" is a format
Expand Down

0 comments on commit c0f85d5

Please sign in to comment.