Skip to content

Cannot set mirror interval to less than 10 minutes #6396

@ghost

Description

  • Gitea version (or commit ref): f7f2f12 built with go1.12.1

  • Git version: 2.20.1

  • Operating system: official docker container

  • Database (use [x]):

    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:

    • Yes (provide example URL)
    • No
    • Not relevant

https://try.gitea.io/sn0w/drone-mirror/

  • Log gist:
server_1  | [Macaron] 2019-03-20 15:30:38: Started POST /mirror/Discord.Net/settings for 94.221.113.111
server_1  | 2019/03/20 15:30:38 http: superfluous response.WriteHeader call from code.gitea.io/gitea/vendor/gopkg.in/macaron%2ev1.(*responseWriter).WriteHeader (response_writer.go:59)
server_1  | [Macaron] 2019-03-20 15:30:38: Completed POST /mirror/Discord.Net/settings 302 Found in 69.930428ms

Description

Setting the mirror interval to anything shorter than 10 minutes does not work.
Eg 9m59s and 5m0s both fail while 10m0s and anything longer works just fine.

Additionally, the wrong form field is highlighted (name instead of interval, see screenshot).

Screenshots

2019-03-20_16-33

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/uiChange the appearance of the Gitea UI

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions