This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import riak | |
from concurrent.futures import ThreadPoolExecutor, as_completed | |
from collections import deque | |
import time | |
import signal | |
def main_function(): | |
client = riak.RiakClient(protocol='pbc', host='127.0.0.1', pbc_port=8097) | |
max_loops = 100 |