Sunil Mohan Adapa
b84075043d
performance: Fix failure to start due to lru_cache in stable
...
Ability to use lru_cache(user_function) was only introduced in Python 3.8.
Buster has Python 3.7. This causes startup failure in Buster. Fix this by using
the older API for lru_cache instead of the new one.
Tests:
- On stable and testing, starting the Plinth daemon and visiting the performance
page should work.
- Adding a print statement in the _get_url() method shows that it is only called
once, ever.
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2021-01-25 19:11:08 -05:00
..
2021-01-22 17:34:29 -08:00
2021-01-22 17:34:29 -08:00
2021-01-21 20:59:48 -05:00
2021-01-04 13:47:39 +02:00
2021-01-04 13:47:38 +02:00
2021-01-04 13:47:39 +02:00
2021-01-04 13:47:39 +02:00
2020-12-19 13:50:20 -08:00
2021-01-04 13:47:38 +02:00
2021-01-04 13:47:38 +02:00
2021-01-09 22:03:00 -05:00
2021-01-04 13:47:38 +02:00
2021-01-04 13:47:39 +02:00
2021-01-04 13:47:38 +02:00
2021-01-04 13:47:39 +02:00
2021-01-04 13:47:38 +02:00
2020-12-19 16:26:53 +02:00
2021-01-10 20:16:50 +05:30
2020-12-19 13:41:26 -08:00
2021-01-04 13:47:39 +02:00
2021-01-04 13:47:39 +02:00
2021-01-04 13:47:39 +02:00
2021-01-04 13:47:39 +02:00
2021-01-04 13:47:38 +02:00
2021-01-04 13:47:39 +02:00
2021-01-04 13:47:39 +02:00
2021-01-04 13:47:39 +02:00
2021-01-04 13:47:39 +02:00
2021-01-04 13:47:39 +02:00
2021-01-04 13:47:38 +02:00
2021-01-04 13:47:39 +02:00
2021-01-04 13:47:38 +02:00
2021-01-25 15:56:12 -08:00
2021-01-09 22:03:00 -05:00
2021-01-04 13:47:38 +02:00
2021-01-25 19:11:08 -05:00
2021-01-04 13:47:38 +02:00
2021-01-04 13:47:38 +02:00
2021-01-04 13:47:39 +02:00
2021-01-04 13:47:41 +02:00
2021-01-04 13:47:39 +02:00
2021-01-04 13:47:39 +02:00
2021-01-04 13:47:39 +02:00
2021-01-04 13:47:38 +02:00
2021-01-04 13:47:39 +02:00
2021-01-04 13:47:38 +02:00
2021-01-22 09:43:34 -08:00
2021-01-04 13:47:38 +02:00
2021-01-22 17:34:29 -08:00
2020-12-19 11:26:32 +02:00
2021-01-04 13:47:38 +02:00
2021-01-21 16:34:51 -08:00
2021-01-19 17:28:10 -08:00
2021-01-04 13:47:39 +02:00
2021-01-11 22:48:25 +02:00
2021-01-04 13:47:39 +02:00
2021-01-10 20:43:53 -08:00
2021-01-09 22:03:00 -05:00
2021-01-04 13:47:39 +02:00