Skip to content

Commit 96de42b

Browse files
committed
redis cache not supported anymore
1 parent e2c2f1c commit 96de42b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/srnd/cache_interface.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ func NewCache(cache_type, host, port, user, password string, config map[string]s
3838
return NewNullCache(prefix, webroot, name, attachments, db, store)
3939
}
4040
if cache_type == "redis" {
41+
log.Fatalf("redis cache not supported, use null cache instead")
4142
return NewRedisCache(prefix, webroot, name, threads, attachments, db, host, port, password)
4243
}
4344

0 commit comments

Comments
 (0)