Skip to content

Commit 94cf10f

Browse files
don't ping hubs if we just refreshed our caches
1 parent d0c4083 commit 94cf10f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/daemon.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ pub fn start_daemon() {
127127
continue;
128128
}
129129
Ok(0) => {
130-
if status.is_in_progress() {
130+
if status.count() > 0 {
131131
// ping the hubs before continuing
132132
match pubsubhubbub::ping_hubs() {
133133
Err(e) => error!("Failed to ping hub: {}", e),

0 commit comments

Comments
 (0)