-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
No File.refresh() during File.append_block (#585)
The current code, upon appending a `Block` to a `File`, immediately calls `File.refresh()` to update the state of the `File` object. This PR adds the newly created `Block` directly to the `File` without making a second API call. The risk / downside to this is that any blocks that were created on the File in between are now not loaded as part of this call.
- Loading branch information
Showing
2 changed files
with
12 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
This file contains 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