# RedisCommandLowPriority()

This function works the same way as RedisCommand with only one difference. In case the connection pool is down to one free connection. The thread will wait for at least one connection more get free. So this command will not use the last connection available.

**Requires Extension:** [Redis driver](https://download.lucee.org/#60772C12-F179-D555-8E2CD2B4F7428718)

```
RedisCommandLowPriority( arguments=any, async=boolean, listener=any, cache=string );
```

**Returns:** any

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| arguments | any | Yes | arguments you wanna pass, can be a string or a string array. |  |
| async | boolean | No | Execute the command in a separate thread, if set to true pass a listener to get the result of the errors. | false |
| listener | any | No | Listener only used when argument async is set to true. This can be a component or a struct containing functions with the following names. - onSuccess(result) to get the result of a successful execution. - onError(exception) to get the exception in case of an error. *Alias: component, cfc* |  |
| cache | string | No | name of the cache to use, this must be a redis cache. *Alias: cacheName* |  |

# Examples

*There are currently no examples for this function*







# Categories

[Cache](../../categories/cache.md), [Redis](../../categories/redis.md)