With the new focus on serverless work pools, has a...
# ask-community
s
With the new focus on serverless work pools, has anyone found a way to stop prefect re-registering identical task definitions so we can launch more than one flow every 15 seconds? I notice a github issue for it but no solutions in it: https://github.com/PrefectHQ/prefect/issues/15865
n
image.png
i think we should probably add this flag onto the push version of this work pool
appears its only present on the hybrid work pool at this time, but should be relatively easy to add to the push work pool I think
s
Update: I ran
prefect work-pool get-default-base-job-template --type ecs > template.json
to inpsect the ecs job template and it does have a match_latest_revision_in_family variable. Ill try this out now and if it works update the github issue as well
@Nate the match latest revision doesn't seem particularly stable. I have it set to true now, but Im now back up to over 500 revisions all for the same thing. Will update github to keep info consistent
n
thanks! will take a look at this after the holidays
🙏 1