Merge pull request #3084 from nspcc-dev/wrkshp-upd
examples, config: minor adjustments for workshop
This commit is contained in:
commit
5fc61be5f6
6 changed files with 11 additions and 0 deletions
|
@ -73,6 +73,7 @@ ApplicationConfiguration:
|
|||
- ":30336"
|
||||
MaxGasInvoke: 15
|
||||
EnableCORSWorkaround: false
|
||||
SessionEnabled: true
|
||||
Prometheus:
|
||||
Enabled: true
|
||||
Addresses:
|
||||
|
|
|
@ -73,6 +73,7 @@ ApplicationConfiguration:
|
|||
- ":30333"
|
||||
MaxGasInvoke: 15
|
||||
EnableCORSWorkaround: false
|
||||
SessionEnabled: true
|
||||
Prometheus:
|
||||
Enabled: true
|
||||
Addresses:
|
||||
|
|
|
@ -64,6 +64,7 @@ ApplicationConfiguration:
|
|||
- ":30333"
|
||||
EnableCORSWorkaround: false
|
||||
MaxGasInvoke: 15
|
||||
SessionEnabled: true
|
||||
Prometheus:
|
||||
Enabled: true
|
||||
Addresses:
|
||||
|
|
|
@ -73,6 +73,7 @@ ApplicationConfiguration:
|
|||
- ":30335"
|
||||
MaxGasInvoke: 15
|
||||
EnableCORSWorkaround: false
|
||||
SessionEnabled: true
|
||||
Prometheus:
|
||||
Enabled: true
|
||||
Addresses:
|
||||
|
|
|
@ -73,6 +73,7 @@ ApplicationConfiguration:
|
|||
EnableCORSWorkaround: false
|
||||
Addresses:
|
||||
- ":30334"
|
||||
SessionEnabled: true
|
||||
Prometheus:
|
||||
Enabled: true
|
||||
Addresses:
|
||||
|
|
|
@ -54,3 +54,9 @@ func Find(value []byte) []string {
|
|||
}
|
||||
return result
|
||||
}
|
||||
|
||||
// FindReturnIter returns an iterator over key-value pairs with the key that has the specified prefix.
|
||||
func FindReturnIter(prefix []byte) iterator.Iterator {
|
||||
iter := storage.Find(ctx, prefix, storage.None)
|
||||
return iter
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue