Skip to content

Commit

Permalink
Minor typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
raldone01 committed Jun 6, 2024
1 parent 5c4642e commit eacb2e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion funcs/logger.gd
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ class DirSink extends LogSink:
_io_thread_current_file.close()

func write_bulks(p_log_records: Array[Dictionary], p_formatted_messages: PackedStringArray) -> void:
# If this causes lag spikes this can be replaced with a try_lock but a second buffer is needed to avoid dropping logs.
# If lock causes lag spikes it can be replaced with a try_lock but a second buffer will be needed to avoid dropping logs.
# Also if this is ever implemented flush_buffer() would have to use lock and ensure all data is sent to the thread.
_io_thread_log_lock.lock()
_io_thread_formatted_messages.append_array(p_formatted_messages)
Expand Down

0 comments on commit eacb2e5

Please sign in to comment.