Skip to content

Commit d1ba152

Browse files
authored
feat: update Azure gem to allow chunked uploads (#375)
2 parents 64fe151 + 5d83d52 commit d1ba152

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
GIT
22
remote: https://github.com/dmitrytrager/azure_file_shares.git
3-
revision: 657860586bf58167c0d848381cdbe5cda4784c3e
3+
revision: 1df11d8f198e726e8eb8a2a9cc6826cc1c6707a6
44
specs:
5-
azure_file_shares (0.1.4)
5+
azure_file_shares (0.1.5)
66
faraday (~> 2.7)
77
faraday-retry (~> 2.0)
88
jwt (~> 2.7)

app/services/topics/sanitizer.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def validate_blobs!(params)
4545
blob = ActiveStorage::Blob.find_signed(signed_id)
4646
next if blob.blank?
4747

48-
if blob.content_type.in?(Topic::CONTENT_TYPES) && blob.byte_size < 10.megabytes
48+
if blob.content_type.in?(Topic::CONTENT_TYPES) && blob.byte_size < 200.megabytes
4949
next signed_id
5050
end
5151

0 commit comments

Comments
 (0)