Exemple #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)
Exemple #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)
Exemple #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,
     )
Exemple #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)