refactor wip
This commit is contained in:
		@@ -25,7 +25,6 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
 | 
			
		||||
    .host("127.0.0.1")
 | 
			
		||||
    .port(8443)
 | 
			
		||||
    .redis_url("redis://localhost:6379")
 | 
			
		||||
    .worker_id("test")
 | 
			
		||||
    .with_auth()
 | 
			
		||||
    .build() {
 | 
			
		||||
        Ok(server) => {
 | 
			
		||||
 
 | 
			
		||||
@@ -63,7 +63,6 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
 | 
			
		||||
        .host("127.0.0.1")
 | 
			
		||||
        .port(8443)
 | 
			
		||||
        .redis_url("redis://localhost:6379")
 | 
			
		||||
        .worker_id("circle_test")
 | 
			
		||||
        .with_auth()
 | 
			
		||||
        .circles(circles)
 | 
			
		||||
        .build()?;
 | 
			
		||||
 
 | 
			
		||||
@@ -15,7 +15,6 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
 | 
			
		||||
    .host("127.0.0.1")
 | 
			
		||||
    .port(8443)
 | 
			
		||||
    .redis_url("redis://localhost:6379")
 | 
			
		||||
    .worker_id("test")
 | 
			
		||||
    .build() {
 | 
			
		||||
        Ok(server) => {
 | 
			
		||||
            println!("🚀 Built server...");
 | 
			
		||||
 
 | 
			
		||||
@@ -25,7 +25,6 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
 | 
			
		||||
    .host("127.0.0.1")
 | 
			
		||||
    .port(8443)
 | 
			
		||||
    .redis_url("redis://localhost:6379")
 | 
			
		||||
    .worker_id("test")
 | 
			
		||||
    .with_auth()
 | 
			
		||||
    .build() {
 | 
			
		||||
        Ok(server) => {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user