open-sauced / pizza

This is an engine that sources git commits and turns them to insights
Apache License 2.0
32 stars 13 forks source link

Implements wait in json payload to make /bake configurable to wait for processing (default 0) #21

Closed k1nho closed 1 year ago

k1nho commented 1 year ago

Description

This PR implements the wait flag. By default /bake will be processed in the background, otherwise it will wait for the processing to finish.

What type of PR is this? (check all applicable)

Related Tickets & Documents

16 Make /bake ttl configurable and by default 0

Mobile & Desktop Screenshots/Recordings

Added tests?

Added to documentation?

[optional] Are there any post-deployment tasks we need to perform?

[optional] What gif best describes this PR or how it makes you feel?