-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is Resumption DB used ? #95
Comments
@AByzhynar |
@robinmk From this point of view - I agree. |
I think I may have misunderstood your question, but how else can resumption data be saved without using DB? |
@robinmk At this moment SDL creates app_info.dat file (it is just simple txt file which contains all resumption related data in JSON format). Is is easy and fast to add or read data from this file when it is needed. |
Do we have an instance in the open where SQL is used? - I guess Policy uses SQL db. |
@robinmk If globally - we used separate thread in SDL which periodically saves Policy DB from RAM to file system.
|
@robinmk, did you have a chance to review Andrey's answers? |
Yes, Andrey and I have been discussing over slack. |
@robinmk, suggested to put here, in GitHub your decisions. It will be easy for all to track them. |
At the moment SDL has the following flag in smartdevicelink.ini file : UseDBForResumption
But we never use it.
SDL always uses app_info.dat file (with a simple json structure) for resumption purposes.
Please clarify if we still need to keep this flag as well as SDL functionality related to resumption usage with SQL data base?
The text was updated successfully, but these errors were encountered: