diff --git a/apps/networkmonitor/networkmonitor_config.nim b/apps/networkmonitor/networkmonitor_config.nim index d56a4941b3..8e76b6f329 100644 --- a/apps/networkmonitor/networkmonitor_config.nim +++ b/apps/networkmonitor/networkmonitor_config.nim @@ -169,7 +169,6 @@ proc parseCmdArg*(T: type EthRpcUrl, s: string): T = var wsPattern = re2"^(wss?):\/\/((localhost)|([\w_-]+(?:(?:\.[\w_-]+)+)))(:[0-9]{1,5})?([\w.,@?^=%&:\/~+#-]*[\w@?^=%&\/~+#-])*" if regex.match(s, wsPattern): - echo "here" raise newException( ValueError, "Websocket RPC URL is not supported, Please use an HTTP URL" ) diff --git a/waku/waku_archive/archive.nim b/waku/waku_archive/archive.nim index fa395c62ec..90a04e3213 100644 --- a/waku/waku_archive/archive.nim +++ b/waku/waku_archive/archive.nim @@ -29,7 +29,7 @@ const WakuArchiveDefaultRetentionPolicyInterval* = chronos.minutes(30) # Metrics reporting - WakuArchiveDefaultMetricsReportInterval* = chronos.minutes(1) + WakuArchiveDefaultMetricsReportInterval* = chronos.minutes(30) # Message validation # 20 seconds maximum allowable sender timestamp "drift" diff --git a/waku/waku_archive/driver/sqlite_driver/sqlite_driver.nim b/waku/waku_archive/driver/sqlite_driver/sqlite_driver.nim index b817282f51..e9072ceefa 100644 --- a/waku/waku_archive/driver/sqlite_driver/sqlite_driver.nim +++ b/waku/waku_archive/driver/sqlite_driver/sqlite_driver.nim @@ -94,8 +94,6 @@ method getMessagesV2*( maxPageSize = DefaultPageSize, ascendingOrder = true, ): Future[ArchiveDriverResult[seq[ArchiveRow]]] {.async, deprecated.} = - echo "here" - let cursor = cursor.map(toDbCursor) let rowsRes = s.db.selectMessagesByHistoryQueryWithLimit(