mirror of
https://github.com/mii443/prometheus-android-exporter.git
synced 2025-08-23 15:48:11 +00:00
add network connected check to pushprox poll method
This commit is contained in:
@ -103,6 +103,7 @@ class PromWorker(
|
|||||||
pushProxFqdn = config.pushproxFqdn,
|
pushProxFqdn = config.pushproxFqdn,
|
||||||
registry = collectorRegistry,
|
registry = collectorRegistry,
|
||||||
countSuccessfulScrape = ::countSuccessfulScrape,
|
countSuccessfulScrape = ::countSuccessfulScrape,
|
||||||
|
getContext = {context}
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
Log.d(TAG, "PushProx launching now") //TODO is singleThreadContext a problem??
|
Log.d(TAG, "PushProx launching now") //TODO is singleThreadContext a problem??
|
||||||
|
Reference in New Issue
Block a user