restic / rest-server

Rest Server is a high performance HTTP server that implements restic's REST backend API.
BSD 2-Clause "Simplified" License
922 stars 138 forks source link

add MemoryHigh to systemd example #210

Closed ph818 closed 1 year ago

ph818 commented 1 year ago

What is the purpose of this change? What does it change?

Include #MemoryHigh=bytes, since this is the preferred way to handle memory according to https://www.man7.org/linux/man-pages/man5/systemd.resource-control.5.html

Was the change discussed in an issue or in the forum before?

Just now, concurrently: https://github.com/restic/rest-server/issues/209 Closes #209

Checklist

Honestly this section has a lot I don't yet understand; i am hoping since my pull request is very small in an example file that I've done the right stuff. Hopefully this is helpful in some small way! Thanks for creating the software!

tim-seoss commented 1 year ago

LGTM. Could you add a changelog/unreleased/issue-209 too (see changelog/TEMPLATE) and also the other similar files in changelog/unreleased/ ? This then gets added as an entry to the CHANGELOG for new releases.

ph818 commented 1 year ago

Thanks! Added the changelog file: https://github.com/restic/rest-server/pull/212

tim-seoss commented 1 year ago

Hi,

Nearly there - a pull request should comprise a coherent set of changes. What I would do from here is:

Github will automatically notice that you pushed additional changes to the branch for this PR, and update this PR with the extra commit.