luigi per-task retry policy
<p>I have an issue configuring luigi per-task retry-policy. I've configured the global luigi.cfg file as follows:</p>

<pre><code>[scheduler]
retry-delay: 1
retry_count: 5

[worker]
keep_alive: true
wait_interval: 3
</code></pre>

<p>Furthermore, it states in the luigi configuration manual that writing a task as follows:</p>

<pre><code>class SomeTask(luigi.Task):

   retry_count = 3
</code></pre>

<p>will suffice in overriding the luigi retry_count specified in the luigi.cfg. However this setting does not effect the run at all. I've managed to create a task which fails every time just for testing, and logging returns that this task failed 5 times (and not 3). </p>

<p>I think there's something fundamental i'm missing.</p>

<p>If even the example does not work. I believe your server or client code is out of date. Note that the <code>luigi</code> command will run your installed version and the central server needs to be restarted after a package upgrade.</p>

python luigi