summaryrefslogtreecommitdiffstats
path: root/store/sql_license_store.go
diff options
context:
space:
mode:
Diffstat (limited to 'store/sql_license_store.go')
-rw-r--r--store/sql_license_store.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/store/sql_license_store.go b/store/sql_license_store.go
index 73faad8b9..6e4cb98c8 100644
--- a/store/sql_license_store.go
+++ b/store/sql_license_store.go
@@ -28,7 +28,7 @@ func (ls SqlLicenseStore) CreateIndexesIfNotExists() {
func (ls SqlLicenseStore) Save(license *model.LicenseRecord) StoreChannel {
- storeChannel := make(StoreChannel)
+ storeChannel := make(StoreChannel, 1)
go func() {
result := StoreResult{}
@@ -58,7 +58,7 @@ func (ls SqlLicenseStore) Save(license *model.LicenseRecord) StoreChannel {
func (ls SqlLicenseStore) Get(id string) StoreChannel {
- storeChannel := make(StoreChannel)
+ storeChannel := make(StoreChannel, 1)
go func() {
result := StoreResult{}