pub async fn get_pool( config: &dyn Config<ESSearchWorkerEnvironmentVariables>, ) -> &'static Pool<Postgres>