Skip to content

Commit beca6b7

Browse files
authored
Merge pull request #2 from NubeIO/feature/concurrency
Add concurrency
1 parent 60d135f commit beca6b7

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

schema/concurrency.go

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
package schema
2+
3+
type EnableConcurrency struct {
4+
Type string `json:"type" default:"boolean"`
5+
Title string `json:"title" default:"Enable Concurrency"`
6+
Default bool `json:"default" default:"false"`
7+
ReadOnly bool `json:"readOnly" default:"false"`
8+
}
9+
10+
type ConcurrencyLimit struct {
11+
Type string `json:"type" default:"number"`
12+
Title string `json:"title" default:"Concurrency Limit"`
13+
Default int `json:"default" default:"0"`
14+
ReadOnly bool `json:"readOnly" default:"false"`
15+
}

0 commit comments

Comments
 (0)