Closed
Description
Description
The API and the main web page endpoints each create their own copy of the templates which should just be being created once and once only.
There's another issue whereby the dev version is simply locking all of the templates on read and recreating them thus potential concurrency issues with templates are likely being hidden on dev environments.
See also #20210
Gitea Version
1.16+
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
N/A
Database
No response