Beispiel #1
0
 def THRIFT_CONSTRUCTOR():
     return databases.factory(ARGS.database,
                              ARGS.local,
                              JOBS,
                              thrift_server=ARGS.thrift_server,
                              thrift_port=ARGS.thrift_port,
                              redis_host=ARGS.redis_host,
                              redis_port=ARGS.redis_port)
Beispiel #2
0
 def THRIFT_CONSTRUCTOR():
     return databases.factory(args.database,
                              True,
                              jobs,
                              thrift_server=args.thrift_server,
                              thrift_port=args.thrift_port,
                              redis_host=args.redis_host,
                              redis_port=args.redis_port)
Beispiel #3
0
 def THRIFT_CONSTRUCTOR():
     return databases.factory(
         ARGS.database,
         ARGS.local,
         JOBS,
         thrift_server=ARGS.thrift_server,
         thrift_port=ARGS.thrift_port,
         redis_host=ARGS.redis_host,
         redis_port=ARGS.redis_port,
     )
Beispiel #4
0
 def THRIFT_CONSTRUCTOR():
     return databases.factory(args.database, True, jobs,
                              thrift_server=args.thrift_server, thrift_port=args.thrift_port,
                              redis_host=args.redis_host, redis_port=args.redis_port)