allow for optionally extending the max time the pypi fetching repoctx action can last
diff --git a/defs.bzl b/defs.bzl
index 8999ff4..70325e7 100644
--- a/defs.bzl
+++ b/defs.bzl
@@ -31,6 +31,7 @@
             # Manually construct the PYTHONPATH since we cannot use the toolchain here
             "PYTHONPATH": pypath
         },
+        timeout=rctx.attr.timeout,
     )
     if result.return_code:
         fail("rules_python_external failed: %s (%s)" % (result.stdout, result.stderr))
@@ -43,6 +44,7 @@
         "requirements": attr.label(allow_single_file=True, mandatory=True,),
         "wheel_env": attr.string_dict(),
         "python_interpreter": attr.string(default="python3"),
+        "timeout": attr.int(default = 600),
         "_script": attr.label(
             executable=True, default=Label("//src:__main__.py"), cfg="host",
         ),