apalis-dev / apalis-dev/apalis-pgmq

[Bug](workflow): Delay Operators in workflows dont work

Aperta
#30 0 commenti 0 reazioni 1 assegnatario Rivendicata da @geofmureithi Vedi su GitHub
bug good first issue
Lingua principale
Rust
Stelle
2
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### What happened?

Say I have such a workflow:

```rs
let workflow = Workflow::new("test_workflow")
.and_then(task1)
.delay_for(delay)
.and_then(task2)
.and_then(task3);
```

### Expected behavior

The workflow should delay for the specified period

### Steps to reproduce

1. Setup
2. Run the workflow
3. The workflow hangs

### Minimal code example

```rust
let workflow = Workflow::new("test_workflow")
.and_then(task1)
.delay_for(delay)
.and_then(task2)
.and_then(task3);
```

### Version

Other (specify in additional context)

### Environment

- OS:
- Rust version:
- Cargo version:

### Relevant log output

```shell

```

### Additional context

_No response_

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.