| 76 | } |
| 77 | |
| 78 | static struct command_result *after_restorefrompeer(struct command *cmd, |
| 79 | const char *method, |
| 80 | const char *buf, |
| 81 | const jsmntok_t *params, |
| 82 | void *cb_arg UNUSED) |
| 83 | { |
| 84 | plugin_log(plugin, LOG_DBG, "restorefrompeer called"); |
| 85 | |
| 86 | peer_storage_timer = |
| 87 | global_timer(plugin, |
| 88 | time_from_sec(CHECK_STORAGE_INTERVAL), |
| 89 | do_find_peer_storage, NULL); |
| 90 | return timer_complete(cmd); |
| 91 | } |
| 92 | |
| 93 | static struct command_result *find_peer_storage (struct command *cmd) |
| 94 | { |
nothing calls this directly
no test coverage detected