public override bool OnStart() { ServicePointManager.DefaultConnectionLimit = 12; var config = new ClusterConfiguration() .LoadFromEmbeddedResource <Program>("Orleans.xml"); system = ActorSystem.Configure().Azure() .Cluster() .From(config) .Register(Assembly.GetExecutingAssembly()) .Run <HubGateway.Bootstrapper>() .Done(); return(base.OnStart()); }
internal AzureEmbeddedActorSystem(AppDomain domain, IActorSystem client, AzureClusterActorSystem cluster) : base(domain, client, cluster) { this.cluster = cluster; }