feat: refactor client sync#428
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #428 +/- ##
==========================================
+ Coverage 65.73% 66.43% +0.70%
==========================================
Files 139 140 +1
Lines 14173 14007 -166
==========================================
- Hits 9316 9305 -11
+ Misses 4857 4702 -155
☔ View full report in Codecov by Sentry. |
Contributor
|
Seems there are some problems storing data to db, using a simple test demo at #[test]
fn write_blocks() {
let workspace_id = "test_workspace";
let workspace = get_workspace(workspace_id, Some(()));
for i in 0..100 {
let block = workspace.create(i.to_string(), "list".to_string());
block.set_float("key".to_string(), 1.0);
}
sleep(std::time::Duration::from_secs(2));
}
#[test]
fn read_blocks() {
let workspace_id = "test_workspace";
let workspace = get_workspace(workspace_id, Some(()));
for i in 0..100 {
let block = workspace.get(i.to_string());
if block.is_none() {
println!("block {} not found", i);
}
}
} |
thorseraq
approved these changes
May 22, 2023
0ff0608 to
c1b969a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.