Ver Fonte

[web] switch /status/compiler/:projectId to compile from history (#32458)

GitOrigin-RevId: d55b0078a3fa59af4f8f1eb60d29d2dc68397f9a
Jakob Ackermann há 7 meses atrás
pai
commit
828e196a69
1 ficheiros alterados com 5 adições e 1 exclusões
  1. 5 1
      services/web/app/src/router.mjs

+ 5 - 1
services/web/app/src/router.mjs

@@ -1176,7 +1176,11 @@ async function initialize(webRouter, privateApiRouter, publicApiRouter) {
       CompileManager.compile(
       CompileManager.compile(
         projectId,
         projectId,
         testUserId,
         testUserId,
-        { metricsPath: 'health-check' },
+        {
+          metricsPath: 'health-check',
+          compileFromHistory: true,
+          rootResourcePath: 'main.tex',
+        },
         function (error, status, _outputFiles, clsiServerId) {
         function (error, status, _outputFiles, clsiServerId) {
           if (handler) {
           if (handler) {
             clearTimeout(handler)
             clearTimeout(handler)