Add instruction to setup Rate Limit

This commit is contained in:
chungyau97
2023-09-13 10:59:05 +08:00
parent 0a5d453338
commit b3e4e35309
2 changed files with 9 additions and 2 deletions
@@ -16,6 +16,7 @@ import chatflowsApi from 'api/chatflows'
// utils
import useNotifier from 'utils/useNotifier'
import { TooltipWithParser } from 'ui-component/tooltip/TooltipWithParser'
const Configuration = () => {
const dispatch = useDispatch()
@@ -131,7 +132,13 @@ const Configuration = () => {
<>
{/*Rate Limit*/}
<Typography variant='h4' sx={{ mb: 1, mt: 2 }}>
Rate Limit
Rate Limit{' '}
<TooltipWithParser
style={{ mb: 1, mt: 2, marginLeft: 10 }}
title={
'Visit <a target="_blank" href="https://docs.flowiseai.com/deployment#rate-limit-setup-guide">Rate Limit Setup Guide</a> to set up Rate Limit correctly in your hosting environment.'
}
/>
</Typography>
{textField(limitMax, 'limitMax', 'Message Limit per Duration', 'number')}
{textField(limitDuration, 'limitDuration', 'Duration in Second', 'number')}