Logo
Explore Help
Register Sign In
sadmen
/
jyoung
mirror of https://github.com/jyoung8607/openpilot.git
1
0
Fork
You've already forked jyoung
0
Code Issues Packages Projects Releases Wiki Activity
open source driving agent
6765 Commits
103 Branches
34 Tags
1.6 GiB
Tree: 88a80983a4
jyoung/selfdrive/loggerd/tools/mark_all_uploaded.py

9 lines
294 B
Raw Normal View History Unescape Escape

Uploader speedup (#2214) * use caching for getxattr * fix some git issues * Scheduled network checks * attempt optimization * Delete speed_test.py * Style fixes * Fix styling * fix spaces * fix spaces * fix naming * Update uploader.py * Update mark_all_uploaded.py * Add file to release * Update selfdrive/loggerd/tools/mark_all_uploaded.py Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
5 years ago
import os
from selfdrive.loggerd.uploader import UPLOAD_ATTR_NAME, UPLOAD_ATTR_VALUE
from selfdrive.loggerd.config import ROOT
for folder in os.walk(ROOT):
for file1 in folder[2]:
full_path = os.path.join(folder[0], file1)
common: replace custom xattr implementation with os module's (#24448) * use os module's xattr function * fix that * handle in helper
3 years ago
os.setxattr(full_path, UPLOAD_ATTR_NAME, UPLOAD_ATTR_VALUE)
Powered by Gitea Version: 1.17.1 Page: 595ms Template : 3ms
English
Bahasa Indonesia Deutsch English Español Français Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Српски Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API Website