In my RavenDB 2.5.2851 database I want to put attachments up to 2GB.
var store = new DocumentStore { Url = "http://127.0.0.1:8080" }.Initialize();
using (var reader = new StreamReader("test.attachment"))
{
var id = "attachments/1";
store.DatabaseCommands.PutAttachment(id, null, reader.BaseStream, null);
}
PutAttachment method started, but after 1,5 minutes the exception thrown: "The request was aborted: The request was cancelled". I think this exception throws because of attachment size limits.
Is there the limit for attachment size? Can I configure it?