There was an error while loading. Please reload this page.
1 parent c05032b commit 71cb215Copy full SHA for 71cb215
1 file changed
service/src/main/java/com/github/kr328/clash/service/ProfileProcessor.kt
@@ -106,7 +106,7 @@ object ProfileProcessor {
106
}
107
108
val updateIntervalHeader = response.headers["profile-update-interval"]
109
- if (response.isSuccessful && updateIntervalHeader != null) {
+ if (old == null && snapshot.interval == 0L && response.isSuccessful && updateIntervalHeader != null) {
110
val intervalHours = updateIntervalHeader.toLongOrNull()
111
if (intervalHours != null) {
112
updateInterval = if (intervalHours > 0) {
0 commit comments