add network connected check to pushprox poll method

This commit is contained in:
Martin Ptáček
2023-06-16 17:55:34 +02:00
parent c6661b9e78
commit 1fd763b410

View File

@ -103,6 +103,7 @@ class PromWorker(
pushProxFqdn = config.pushproxFqdn,
registry = collectorRegistry,
countSuccessfulScrape = ::countSuccessfulScrape,
getContext = {context}
)
)
Log.d(TAG, "PushProx launching now") //TODO is singleThreadContext a problem??