mirror of
https://github.com/actix/actix-extras.git
synced 2025-06-25 18:09:22 +02:00
deregister server socket on shutdown
This commit is contained in:
@ -44,6 +44,7 @@ fn main() {
|
||||
let _ = env_logger::init();
|
||||
let sys = actix::System::new("r2d2-example");
|
||||
|
||||
// r2d2 pool
|
||||
let manager = SqliteConnectionManager::file("test.db");
|
||||
let pool = r2d2::Pool::new(manager).unwrap();
|
||||
|
||||
|
Reference in New Issue
Block a user