mirror of
https://github.com/Jetsparrow/jetherald.git
synced 2026-01-20 23:56:08 +03:00
fix heart has started beating messages
This commit is contained in:
parent
3a007cee90
commit
e7b131fe2e
@ -103,7 +103,7 @@ public class Db
|
|||||||
public async Task<int> ReportHeartbeat(uint topicId, string heart, int timeoutSeconds)
|
public async Task<int> ReportHeartbeat(uint topicId, string heart, int timeoutSeconds)
|
||||||
{
|
{
|
||||||
using var c = GetConnection();
|
using var c = GetConnection();
|
||||||
return await c.ExecuteAsync(
|
return await c.QueryFirstAsync<int>(
|
||||||
@"CALL report_heartbeat(@topicId, @heart, @timeoutSeconds);",
|
@"CALL report_heartbeat(@topicId, @heart, @timeoutSeconds);",
|
||||||
new { topicId, heart, timeoutSeconds });
|
new { topicId, heart, timeoutSeconds });
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user