Skip to content

Commit aba3750

Browse files
authored
Update RealtimeHub.cs
1 parent d5b3ab8 commit aba3750

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Infrastructure/BotSharp.Core.Realtime/Services/RealtimeHub.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,9 @@ await _completer.Connect(_conn,
9999
await HookEmitter.Emit<IRoutingHook>(_services, async hook => await hook.OnRoutingInstructionReceived(instruction, message));
100100
}
101101

102-
await routing.InvokeFunction(message.FunctionName, message);
102+
var delay = Task.Delay(1000);
103+
routing.InvokeFunction(message.FunctionName, message);
104+
await delay;
103105
}
104106
else
105107
{

0 commit comments

Comments
 (0)