From 3e158211a830bbcba2dd463189a79ec3ad17c8d4 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Thu, 26 Jul 2012 20:01:51 +1200 Subject: Add a --nohang flag that turns off pauses in response generation. --- pathod | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'pathod') diff --git a/pathod b/pathod index df044ae7..56f6e3fe 100755 --- a/pathod +++ b/pathod @@ -34,6 +34,10 @@ if __name__ == "__main__": "--noapi", dest='noapi', default=False, action="store_true", help='Disable API.' ) + parser.add_argument( + "--nohang", dest='nohang', default=False, action="store_true", + help='Disable pauses during crafted response generation.' + ) parser.add_argument( "--noweb", dest='noweb', default=False, action="store_true", help='Disable both web interface and API.' @@ -100,7 +104,8 @@ if __name__ == "__main__": sizelimit = sizelimit, noweb = args.noweb, nocraft = args.nocraft, - noapi = args.noapi + noapi = args.noapi, + nohang = args.nohang ) except pathod.PathodError, v: parser.error(str(v)) -- cgit v1.2.3