Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
autotest
/
8c7d6ca61929d49a3ca23357cc46859617cc3007
/
frontend
/
thread_local.py
64a9595
When using Django models from a script, make the current user default to an actual database user named "autotest_system". This allows for simpler, more consistent code.
by showard
· 15 years ago
2bab8f4
Implement sync_count. The primary change here is replacing the job.synch_type field with a synch_count field. There is no longer just a distinction between synchronous and asynchronous jobs. Instead, every job as a synch_count, with synch_count = 1 corresponding to the old concept of synchronous jobs. This required:
by showard
· 16 years ago
ff90138
-move logged-in user tracking to separate thread_local module. models.py will soon depend on it, so it had to be moved to avoid circular dependencies.
by showard
· 16 years ago