feat: extend host load factors
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-03-24 15:18:18 +00:00
parent af36d4e586
commit ec7fa92010
13 changed files with 138 additions and 46 deletions

View File

@ -36,8 +36,14 @@ impl NodeInvoiceHandler {
async fn mark_payment_paid(&self, payment: &VmPayment) -> Result<()> {
self.db.vm_payment_paid(&payment).await?;
info!("VM payment {} for {}, paid", hex::encode(&payment.id), payment.vm_id);
self.tx.send(WorkJob::CheckVm { vm_id: payment.vm_id })?;
info!(
"VM payment {} for {}, paid",
hex::encode(&payment.id),
payment.vm_id
);
self.tx.send(WorkJob::CheckVm {
vm_id: payment.vm_id,
})?;
Ok(())
}