codeignition / Sider

Web Ui for sider
Other
0 stars 0 forks source link

Parse redis info before saving #33

Closed SinisterLight closed 10 years ago

SinisterLight commented 10 years ago

server_info = { .. db0: 'keys=1,expires=0,avg_ttl=0', db9: 'keys=49,expires=49,avg_ttl=2588996447', .. } changed it to server_info = { .. db0: { keys: '1', expires: '0', avg_ttl: '0' }, db9: { keys: '49', expires: '49', avg_ttl: '2588996447' } ..}

SinisterLight commented 10 years ago

Done !