commit 229fbc1933e1beddb847604b92ae628d0e897d68
parent f19e58b87d870d322d2a90d50488f5899f0e7049
Author: Christian Grothoff <christian@grothoff.org>
Date: Mon, 7 Sep 2020 14:00:04 +0200
trigger long poolers also on /paid (#6581)
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/backend/taler-merchant-httpd_post-orders-ID-paid.c b/src/backend/taler-merchant-httpd_post-orders-ID-paid.c
@@ -180,7 +180,11 @@ TMH_post_orders_ID_paid (const struct TMH_RequestHandler *rh,
}
}
json_decref (contract_terms);
-
+ /* Resume clients waiting on the order */
+ TMH_long_poll_resume (order_id,
+ hc->instance,
+ NULL,
+ false);
return TALER_MHD_reply_static (connection,
MHD_HTTP_NO_CONTENT,
NULL,