Remove healthchecks integration

Stephen Paul Weber created

We use runitor in prod now

Change summary

bin/billing_monthly_cronjob          | 5 +----
bin/process_pending_btc_transactions | 5 +----
2 files changed, 2 insertions(+), 8 deletions(-)

Detailed changes

bin/billing_monthly_cronjob 🔗

@@ -2,7 +2,6 @@
 # frozen_string_literal: true
 
 # Usage: ./billing_monthly_cronjob '{
-#        healthchecks_url = "https://hc-ping.com/...",
 #        notify_using = {
 #          jid = "",
 #          password = "",
@@ -43,8 +42,6 @@ CONFIG = Dhall.load(<<-DHALL).sync
 	}
 DHALL
 
-Net::HTTP.post_form(URI("#{CONFIG[:healthchecks_url]}/start"), {})
-
 REDIS = Redis.new
 db = PG.connect(dbname: "jmp")
 db.type_map_for_results = PG::BasicTypeMapForResults.new(db)
@@ -212,4 +209,4 @@ db.transaction do
 	end
 end
 
-Net::HTTP.post_form(URI(CONFIG[:healthchecks_url].to_s), **stats.to_h)
+p stats

bin/process_pending_btc_transactions 🔗

@@ -2,7 +2,6 @@
 # frozen_string_literal: true
 
 # Usage: bin/process_pending-btc_transactions '{
-#        healthchecks_url = "https://hc-ping.com/...",
 #        oxr_app_id = "",
 #        required_confirmations = 3,
 #        notify_using = {
@@ -32,8 +31,6 @@ CONFIG =
 	.new(safe: Dhall::Coder::JSON_LIKE + [Symbol, Proc])
 	.load(ARGV[0], transform_keys: :to_sym)
 
-Net::HTTP.post(URI("#{CONFIG[:healthchecks_url]}/start"), "")
-
 REDIS = Redis.new
 ELECTRUM = Electrum.new(**CONFIG[:electrum])
 
@@ -265,4 +262,4 @@ done = REDIS.hgetall("pending_btc_transactions").map do |(txid, customer_id)|
 	end
 end
 
-Net::HTTP.post(URI(CONFIG[:healthchecks_url].to_s), done.compact.join("\n"))
+puts done.compact.join("\n")