Skip to content

Commit

Permalink
do not check events on read
Browse files Browse the repository at this point in the history
  • Loading branch information
msmeissn committed Apr 23, 2017
1 parent d7b4194 commit 9f8d785
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gphotofs.c
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ gphotofs_read(const char *path,
unsigned long int dataSize;
int ret;

gphotofs_check_events();
/* gphotofs_check_events(); ... probably on doing small reads this will take too much time */
openFile = g_hash_table_lookup(p->reads, path);
ret = gp_file_get_data_and_size(openFile->file, &data, &dataSize);
if (ret == 0) {
Expand Down

0 comments on commit 9f8d785

Please sign in to comment.