Update batch writer (#3198)
* fix(helm): add CORS config to Assist ingress Configure CORS headers and debug session information for the Assist service's ingress to ensure proper cross-origin requests handling and improved debugging capabilities. Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com> * add timestamp to prepare method --------- Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com> Co-authored-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
parent
c760d29fb4
commit
a8e47e59ad
3 changed files with 3 additions and 1 deletions
|
|
@ -82,7 +82,6 @@ ingress:
|
|||
add_header 'Access-Control-Allow-Headers' 'sessionid, Content-Type, Authorization' always;
|
||||
add_header 'Access-Control-Max-Age' 1728000;
|
||||
add_header 'Content-Type' 'text/plain charset=UTF-8';
|
||||
|
||||
nginx.ingress.kubernetes.io/proxy-read-timeout: "3600"
|
||||
nginx.ingress.kubernetes.io/proxy-send-timeout: "3600"
|
||||
# kubernetes.io/ingress.class: nginx
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -52,10 +52,13 @@ export default class BatchWriter {
|
|||
this.url,
|
||||
]
|
||||
|
||||
const timestamp: Messages.Timestamp = [Messages.Type.Timestamp, this.timestamp]
|
||||
|
||||
const tabData: Messages.TabData = [Messages.Type.TabData, this.tabId]
|
||||
|
||||
this.writeType(batchMetadata)
|
||||
this.writeFields(batchMetadata)
|
||||
this.writeWithSize(timestamp as Message)
|
||||
this.writeWithSize(tabData as Message)
|
||||
this.isEmpty = true
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue