logs-test #13

Merged
milano15662 merged 1 commits from develop into master 2022-03-25 07:31:30 +00:00
1 changed files with 5 additions and 0 deletions

View File

@ -34,12 +34,17 @@ func (s SyncToService) syncData() {
// handleSyncDataToServiceAppier ...
func handleSyncDataToServiceAppier(pattern string, typeData string) {
fmt.Println("keyProductPattern", pattern)
for {
keys, values := redisdb.GetWithPrefixPattern(pattern, limitGetKeyRedis)
if len(keys) == 0 {
return
}
fmt.Println("keys:", keys)
fmt.Println("values", values)
payload := toBytes(values)
// Convert data
switch typeData {