dependabot-preview[bot] on nuget
Bump System.Configuration.Confi… (compare)
dependabot-preview[bot] on nuget
Bump NUnit from 3.7.1 to 3.13.0… (compare)
Aaronontheweb on dev
close #4454 - added full ASP.NE… (compare)
Hi, is it possible if i send text file (133KB) from akka server to client Akka ?. i have try but client is not respond
public class HelloActor : UntypedActor
{
public HelloActor()
{
}
protected override void OnReceive(object request)
{
var data = System.IO.File.ReadAllText(AppDomain.CurrentDomain.BaseDirectory+"myfile.txt");
Sender.Forward(data);
}
}
var actor = System.ActorSelection("HelloActor");
return await actor.Ask<string>(null, TimeSpan.FromHours(1));
is it to large for 133 KB txt file ?
and this is my config hocon at server
remote {
log-sent-messages = on
log-received-messages = on
maximum-frame-size = 10MB
public long? GetByteSize()
{
var res = GetString();
if (res.EndsWith("b"))
{
var v = res.Substring(0, res.Length - 1);
return long.Parse(v);
}
return long.Parse(res);
}
10 * 1024 * 1024
@ronnyek @GraemeBradbury I am working on getting it to build and run tests which is a nightmare, for one it won't even build under mono 4.2 as some methods used in the IO stuff is not even in mono 4.2 and was only added a month ago.
would be scary to run it without knowing it builds and all tests pass as who knows what is missing at runtime.