<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Replace Google App Engine with AppScale"
   href="https://bugs.webkit.org/show_bug.cgi?id=147178#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Replace Google App Engine with AppScale"
   href="https://bugs.webkit.org/show_bug.cgi?id=147178">bug 147178</a>
              from <span class="vcard"><a class="email" href="mailto:dbates&#64;webkit.org" title="Daniel Bates &lt;dbates&#64;webkit.org&gt;"> <span class="fn">Daniel Bates</span></a>
</span></b>
        <pre>Comment on <span class=""><a href="attachment.cgi?id=257669&amp;action=diff" name="attach_257669" title="Updated Patch, updated https port numbers.">attachment 257669</a> <a href="attachment.cgi?id=257669&amp;action=edit" title="Updated Patch, updated https port numbers.">[details]</a></span>
Updated Patch, updated https port numbers.

View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=257669&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=257669&amp;action=review</a>

<span class="quote">&gt; Tools/QueueStatusServer/app.yaml:4
&gt; +runtime: python27
&gt; +threadsafe: false</span >

It would be good to understand the need to explicitly use the Python 2.7 runtime.

Elaborating on the reasoning for specifying the YAML property threadsafe, we must explicitly define this property when using the Python 2.7 runtime per &lt;<a href="https://cloud.google.com/appengine/docs/python/python25/migrate27#appyaml">https://cloud.google.com/appengine/docs/python/python25/migrate27#appyaml</a>&gt;. We define threadsafe to be false because the status server code was written to be run in AppEngine's CGI environment (by &lt;<a href="http://trac.webkit.org/browser/trunk/Tools/QueueStatusServer/main.py?rev=174622#L90">http://trac.webkit.org/browser/trunk/Tools/QueueStatusServer/main.py?rev=174622#L90</a>&gt; and &lt;<a href="https://cloud.google.com/appengine/docs/python/tools/webapp/utilmodule#run_wsgi_app">https://cloud.google.com/appengine/docs/python/tools/webapp/utilmodule#run_wsgi_app</a>&gt;). And AppEngine's CGI programming model handles requests serially per section &quot;Concurrent Requests and WSGI&quot; of &lt;<a href="https://cloud.google.com/appengine/
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>