Looker Community

PDT build stops at 60 minutes in development mode

Hey team,

PDT build stops automatically after 60 minutes in development mode. But the average build duration in production is around 2 hours. Why does it stop at 60 minutes, Do we have an option to increase the PDT timeout in development mode?

There’s a default 60 minute timeout on the proxy used by Looker. That can’t be extended, but it doesn’t apply to backend queries/processes— So an API query, or the PDT regenerator process (which runs in production) is unaffected, which is why you’re seeing your production PDTs completing even after 2hrs.

One thing you could try is the –if dev– flag in the SQL of your PDT. This lets you add a where clause to only build a fraction of the PDT in dev mode, letting it build quicker for testing purposes.