memos icon indicating copy to clipboard operation
memos copied to clipboard

Customize max content length of memo

Open 1itt1eB0y opened this issue 1 year ago • 1 comments

Describe the solution you'd like

图片

I hope

  • Add a gRPC option or configuration setting to allow setting the maximum message size on both the server and client.
  • Consider introducing a function for slice-based transmission to enable efficient handling of large messages.

Type of feature

API

Additional context

No response

1itt1eB0y avatar Jan 12 '24 16:01 1itt1eB0y

I rebuild the docker package, try this.

https://github.com/jayli/memos-new-v0.20.0

jayli avatar Mar 05 '24 03:03 jayli

Updated with https://github.com/usememos/memos/commit/af1ad2f2dbb0f8c5c50bdc4549fb92431b66d2cb

boojack avatar May 06 '24 00:05 boojack

Hi , I’m afraid I didn’t quite understand. Is there a solution to this problem other than the one provided by Jayli (thanks for your solution, by the way)? I'm looking for something a bit simpler.

Is there an option through the UI interface or by adding an option in the compose file under the environment section?


    environment:
      - content_length_limit=

Cousclou avatar May 14 '24 23:05 Cousclou

@Cousclou There should be a setting item for max content length in v0.22.0

image

michaelien avatar May 15 '24 03:05 michaelien