When create a queue, zaqar will query pools' table to see if there is any pool available, but by default, the pool group name is None.
That said, if all the pools in db has a group, the result will be empty. So we need to check if the group is None or not to decide if the query condition should be applied.
Control plane: sqlalchemy
Data plane: redis
When create a queue, zaqar will query pools' table to see if there is any pool available, but by default, the pool group name is None.
That said, if all the pools in db has a group, the result will be empty. So we need to check if the group is None or not to decide if the query condition should be applied.