Skip to content

Commit e0e7f97

Browse files
committed
Rename, create redis client
1 parent 65b1ba0 commit e0e7f97

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

‎RedisStorage.py‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Data Retrieval
2+
from flask import Flask, abort
3+
import redis as red
4+
import json, sys
5+
import itertools
6+
7+
# Host redis process location, contains data to collect
8+
# Use the Raspberry Pi IP, should be static
9+
redisHost = red.Redis(host='192.168.137.10', port=6379)
10+
11+
# Client redis process location, contains replicaOf host
12+
redisClient = red.Redis(host='localhost', port=6379)
13+
File renamed without changes.

0 commit comments

Comments
 (0)