MCPcopy Index your code
hub / github.com/riverqueue/river / QueueUpdateTx

Method QueueUpdateTx

client.go:2841–2847  ·  view source on GitHub ↗

QueueUpdateTx updates a queue's settings in the database. These settings override the settings in the client (if applied).

(ctx context.Context, tx TTx, name string, params *QueueUpdateParams)

Source from the content-addressed store, hash-verified

2839// QueueUpdateTx updates a queue's settings in the database. These settings
2840// override the settings in the client (if applied).
2841func (c *Client[TTx]) QueueUpdateTx(ctx context.Context, tx TTx, name string, params *QueueUpdateParams) (*rivertype.Queue, error) {
2842 queue, _, err := c.queueUpdate(ctx, c.driver.UnwrapExecutor(tx), name, params)
2843 if err != nil {
2844 return nil, err
2845 }
2846 return queue, nil
2847}
2848
2849// Notifies an internal producer of a queue control event like pause/resume.
2850// Only invoked if the client's driver doesn't support a listener. If a listener

Callers 2

ExerciseClientFunction · 0.80

Calls 2

queueUpdateMethod · 0.95
UnwrapExecutorMethod · 0.65

Tested by 2

ExerciseClientFunction · 0.64