Serverless scaling and work to authorizer

This commit is contained in:
2020-05-21 17:32:27 -04:00
parent 92d0fa6476
commit 835d0f2833
10 changed files with 162 additions and 50 deletions

View File

@ -6,19 +6,9 @@ namespace authorizer
class Program
{
static AuthServer server;
static Redis redis;
static void Main(string[] args)
{
redis = new Redis(Environment.GetEnvironmentVariable("REDIS_HOSTNAME"));
redis.SetTest();
Thread.Sleep(100);
redis.GetTest();
/* server = new AuthServer();
server = new AuthServer();
server.Start();
@ -28,7 +18,7 @@ namespace authorizer
input = Console.ReadLine();
}
while(input != "stop");
server.Stop(); */
server.Stop();
}
}
}