diff --git a/app/views/foodcourt/qrpay/init.html.erb b/app/views/foodcourt/qrpay/init.html.erb
index 5e14eef1..9287e49c 100644
--- a/app/views/foodcourt/qrpay/init.html.erb
+++ b/app/views/foodcourt/qrpay/init.html.erb
@@ -332,13 +332,13 @@ $(document).ready(function() {
const subscription = cable.subscriptions.create(
{
- channel: "TestChannel",
+ channel: "NagatoChannel",
receipt_no: receiptNo
},
{
connected() {
console.log("Nagato channel connected");
- fallbackTimeout = setTimeout(checkPaymentStatus, 60000);
+ fallbackTimeout = setTimeout(checkPaymentStatus, 30000);
},
received() {
@@ -351,7 +351,7 @@ $(document).ready(function() {
disconnected() {
console.log("Nagato channel disconnected");
- fallbackTimeout = setTimeout(checkPaymentStatus, 60000);
+ fallbackTimeout = setTimeout(checkPaymentStatus, 30000);
}
}
);